diff --git a/tst/JsonApiTest.php b/tst/JsonApiTest.php index 058bd320..6f48b1b4 100644 --- a/tst/JsonApiTest.php +++ b/tst/JsonApiTest.php @@ -295,7 +295,7 @@ class JsonApiTest extends PHPUnit_Framework_TestCase public function testShortenViaYourlsFailure() { $_SERVER['REQUEST_URI'] = '/path/shortenviayourls?link=https%3A%2F%2Fexample.com%2Fpath%2F%3Ffoo%23bar'; - $_GET['link'] = 'https://example.com/path/?foo#bar'; + $_GET['link'] = 'https://example.com/path/?foo#bar'; ob_start(); new Controller; $content = ob_get_contents(); diff --git a/tst/YourlsProxyTest.php b/tst/YourlsProxyTest.php index 8c90112c..6e4df607 100644 --- a/tst/YourlsProxyTest.php +++ b/tst/YourlsProxyTest.php @@ -72,4 +72,4 @@ class YourlsProxyTest extends PHPUnit_Framework_TestCase $this->assertTrue($yourls->isError()); $this->assertEquals($yourls->getError(), 'Error calling YOURLS. Probably a configuration issue, like wrong or missing "apiurl" or "signature".'); } -} \ No newline at end of file +}