From a5a9cf23acd1248585173aa32757d9720b5f2d62 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 29 Sep 2020 14:41:40 +0200 Subject: Compatibility with PHPUnit 9 --- tests/http/UrlUtils/CleanupUrlTest.php | 2 +- tests/http/UrlUtils/GetUrlSchemeTest.php | 2 +- tests/http/UrlUtils/UnparseUrlTest.php | 2 +- tests/http/UrlUtils/WhitelistProtocolsTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/http/UrlUtils') diff --git a/tests/http/UrlUtils/CleanupUrlTest.php b/tests/http/UrlUtils/CleanupUrlTest.php index 6c4d124b..45690ecf 100644 --- a/tests/http/UrlUtils/CleanupUrlTest.php +++ b/tests/http/UrlUtils/CleanupUrlTest.php @@ -7,7 +7,7 @@ namespace Shaarli\Http; require_once 'application/http/UrlUtils.php'; -class CleanupUrlTest extends \PHPUnit\Framework\TestCase +class CleanupUrlTest extends \Shaarli\TestCase { /** * @var string reference URL diff --git a/tests/http/UrlUtils/GetUrlSchemeTest.php b/tests/http/UrlUtils/GetUrlSchemeTest.php index 2b97f7be..18a9a5e5 100644 --- a/tests/http/UrlUtils/GetUrlSchemeTest.php +++ b/tests/http/UrlUtils/GetUrlSchemeTest.php @@ -7,7 +7,7 @@ namespace Shaarli\Http; require_once 'application/http/UrlUtils.php'; -class GetUrlSchemeTest extends \PHPUnit\Framework\TestCase +class GetUrlSchemeTest extends \Shaarli\TestCase { /** * Get empty scheme string for empty UrlUtils diff --git a/tests/http/UrlUtils/UnparseUrlTest.php b/tests/http/UrlUtils/UnparseUrlTest.php index 040d8c54..5e6246cc 100644 --- a/tests/http/UrlUtils/UnparseUrlTest.php +++ b/tests/http/UrlUtils/UnparseUrlTest.php @@ -10,7 +10,7 @@ require_once 'application/http/UrlUtils.php'; /** * Unitary tests for unparse_url() */ -class UnparseUrlTest extends \PHPUnit\Framework\TestCase +class UnparseUrlTest extends \Shaarli\TestCase { /** * Thanks for building nothing diff --git a/tests/http/UrlUtils/WhitelistProtocolsTest.php b/tests/http/UrlUtils/WhitelistProtocolsTest.php index 69512dbd..b8a6baaa 100644 --- a/tests/http/UrlUtils/WhitelistProtocolsTest.php +++ b/tests/http/UrlUtils/WhitelistProtocolsTest.php @@ -9,7 +9,7 @@ require_once 'application/http/UrlUtils.php'; * * Test whitelist_protocols() function of UrlUtils. */ -class WhitelistProtocolsTest extends \PHPUnit\Framework\TestCase +class WhitelistProtocolsTest extends \Shaarli\TestCase { /** * Test whitelist_protocols() on a note (relative URL). -- cgit v1.2.3