Skip to content

Commit

Permalink
Skip tests that depend on critmon1.ez.no as it has been shut down. (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
glye committed Jul 6, 2018
1 parent 4313264 commit ea83877
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tests/lib/ezsoap/ezsoapclient_test.php
Expand Up @@ -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 );
Expand Down
2 changes: 2 additions & 0 deletions tests/tests/lib/ezutils/ezhttptool_test.php
Expand Up @@ -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.
Expand Down

0 comments on commit ea83877

Please sign in to comment.