Fixed tests
This commit is contained in:
parent
7a36e9262a
commit
b41639e1ea
|
@ -1,14 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Tests\E2E\Services\Health;
|
|
||||||
|
|
||||||
use Tests\E2E\Scopes\Scope;
|
|
||||||
use Tests\E2E\Scopes\ProjectConsole;
|
|
||||||
use Tests\E2E\Scopes\SideClient;
|
|
||||||
|
|
||||||
class HealthConsoleClientTest extends Scope
|
|
||||||
{
|
|
||||||
use HealthBase;
|
|
||||||
use ProjectConsole;
|
|
||||||
use SideClient;
|
|
||||||
}
|
|
|
@ -109,7 +109,7 @@ class HealthCustomClientTest extends Scope
|
||||||
|
|
||||||
$this->assertEquals(200, $response['headers']['status-code']);
|
$this->assertEquals(200, $response['headers']['status-code']);
|
||||||
$this->assertIsInt($response['body']['size']);
|
$this->assertIsInt($response['body']['size']);
|
||||||
$this->assertLessThan(50, $response['body']['size']);
|
$this->assertLessThan(100, $response['body']['size']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for FAILURE
|
* Test for FAILURE
|
||||||
|
@ -130,7 +130,7 @@ class HealthCustomClientTest extends Scope
|
||||||
|
|
||||||
$this->assertEquals(200, $response['headers']['status-code']);
|
$this->assertEquals(200, $response['headers']['status-code']);
|
||||||
$this->assertIsInt($response['body']['size']);
|
$this->assertIsInt($response['body']['size']);
|
||||||
$this->assertLessThan(50, $response['body']['size']);
|
$this->assertLessThan(100, $response['body']['size']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for FAILURE
|
* Test for FAILURE
|
||||||
|
@ -151,7 +151,7 @@ class HealthCustomClientTest extends Scope
|
||||||
|
|
||||||
$this->assertEquals(200, $response['headers']['status-code']);
|
$this->assertEquals(200, $response['headers']['status-code']);
|
||||||
$this->assertIsInt($response['body']['size']);
|
$this->assertIsInt($response['body']['size']);
|
||||||
$this->assertLessThan(50, $response['body']['size']);
|
$this->assertLessThan(100, $response['body']['size']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for FAILURE
|
* Test for FAILURE
|
||||||
|
@ -172,7 +172,7 @@ class HealthCustomClientTest extends Scope
|
||||||
|
|
||||||
$this->assertEquals(200, $response['headers']['status-code']);
|
$this->assertEquals(200, $response['headers']['status-code']);
|
||||||
$this->assertIsInt($response['body']['size']);
|
$this->assertIsInt($response['body']['size']);
|
||||||
$this->assertLessThan(50, $response['body']['size']);
|
$this->assertLessThan(100, $response['body']['size']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for FAILURE
|
* Test for FAILURE
|
||||||
|
@ -193,7 +193,7 @@ class HealthCustomClientTest extends Scope
|
||||||
|
|
||||||
$this->assertEquals(200, $response['headers']['status-code']);
|
$this->assertEquals(200, $response['headers']['status-code']);
|
||||||
$this->assertIsInt($response['body']['size']);
|
$this->assertIsInt($response['body']['size']);
|
||||||
$this->assertLessThan(50, $response['body']['size']);
|
$this->assertLessThan(100, $response['body']['size']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for FAILURE
|
* Test for FAILURE
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Tests\E2E\Services\Health;
|
|
||||||
|
|
||||||
use Tests\E2E\Client;
|
|
||||||
use Tests\E2E\Scopes\ProjectCustom;
|
|
||||||
use Tests\E2E\Scopes\Scope;
|
|
||||||
use Tests\E2E\Scopes\SideServer;
|
|
||||||
|
|
||||||
class HealthCustomServerTest extends Scope
|
|
||||||
{
|
|
||||||
use HealthBase;
|
|
||||||
use ProjectCustom;
|
|
||||||
use SideServer;
|
|
||||||
}
|
|
Loading…
Reference in a new issue