From ea83877753e80722257b82c81aac48dbc72db84e Mon Sep 17 00:00:00 2001 From: Gunnstein Lye Date: Fri, 6 Jul 2018 10:42:21 +0200 Subject: [PATCH] Skip tests that depend on critmon1.ez.no as it has been shut down. (#1374) --- tests/tests/lib/ezsoap/ezsoapclient_test.php | 2 ++ tests/tests/lib/ezutils/ezhttptool_test.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/tests/lib/ezsoap/ezsoapclient_test.php b/tests/tests/lib/ezsoap/ezsoapclient_test.php index 9ec4622acfd..8852c06bb3c 100644 --- a/tests/tests/lib/ezsoap/ezsoapclient_test.php +++ b/tests/tests/lib/ezsoap/ezsoapclient_test.php @@ -70,6 +70,8 @@ public static function providerTestSoapClientSend() */ public function testSoapClientSend( $expectedSendResult, $server, $path, $port, $name, $namespace, $parameters = array() ) { + self::markTestSkipped( "Test disabled as critmon has been shut down. Needs a different server or way of doing this." ); + $client = new eZSOAPClient( $server, $path, $port ); $request = new eZSOAPRequest( $name, $namespace, $parameters ); $response = $client->send( $request ); diff --git a/tests/tests/lib/ezutils/ezhttptool_test.php b/tests/tests/lib/ezutils/ezhttptool_test.php index 1e9040244cd..b6248beac9a 100644 --- a/tests/tests/lib/ezutils/ezhttptool_test.php +++ b/tests/tests/lib/ezutils/ezhttptool_test.php @@ -30,6 +30,8 @@ public static function providerTestGetDataByURL() */ public function testGetDataByURL( $expectedDataResult, $url, $justCheckURL = false, $userAgent = false ) { + self::markTestSkipped( "Test disabled as critmon has been shut down. Needs a different server or way of doing this." ); + $this->assertEquals( eZHTTPTool::getDataByURL( $url, $justCheckURL, $userAgent ), $expectedDataResult ); // There's no way to test the whole method without refactoring it.