public function testsfIsInternalDomain_ドメインが一致しない場合_falseが返る() { $url = 'http://test.local.jp/html/index.php'; $this->expected = TRUE; $this->actual = SC_Utils::sfIsInternalDomain($url); $this->verify($url); }
public function testsfIsInternalDomain_ドメインが一致しない場合_falseが返る() { // 一致しないようなURLにする $url = 'http://unmatched.example.jp/html/index.php'; $this->expected = false; $this->actual = SC_Utils::sfIsInternalDomain($url); $this->verify($url); }