diff --git a/tests/UrlTest.php b/tests/UrlTest.php index d46e6d3..fd2c3b9 100644 --- a/tests/UrlTest.php +++ b/tests/UrlTest.php @@ -8,6 +8,18 @@ class UrlTest extends \PHPUnit\Framework\TestCase { + /** + * If null is passed to `makeUrlAbsolute`, it should always return null. + * + * @test + */ + public function testNullPassingThrough() + { + $web = new \spekulatius\phpscraper; + + $this->assertNull($web->makeUrlAbsolute(null)); + } + /** * @test */ @@ -37,18 +49,6 @@ public function validateUriTest() ); } - /** - * If null is passed to `makeUrlAbsolute`, it should always return null. - * - * @test - */ - public function testNullPassingThrough() - { - $web = new \spekulatius\phpscraper; - - $this->assertNull($web->makeUrlAbsolute(null)); - } - /** * @test */