1
0
Fork 0
mirror of synced 2024-06-16 17:54:53 +12:00

Fixed tests

This commit is contained in:
Eldad Fux 2020-05-01 17:02:05 +03:00
parent 7a36e9262a
commit b41639e1ea
3 changed files with 5 additions and 34 deletions

View file

@ -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;
}

View file

@ -109,7 +109,7 @@ class HealthCustomClientTest extends Scope
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertIsInt($response['body']['size']);
$this->assertLessThan(50, $response['body']['size']);
$this->assertLessThan(100, $response['body']['size']);
/**
* Test for FAILURE
@ -130,7 +130,7 @@ class HealthCustomClientTest extends Scope
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertIsInt($response['body']['size']);
$this->assertLessThan(50, $response['body']['size']);
$this->assertLessThan(100, $response['body']['size']);
/**
* Test for FAILURE
@ -151,7 +151,7 @@ class HealthCustomClientTest extends Scope
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertIsInt($response['body']['size']);
$this->assertLessThan(50, $response['body']['size']);
$this->assertLessThan(100, $response['body']['size']);
/**
* Test for FAILURE
@ -172,7 +172,7 @@ class HealthCustomClientTest extends Scope
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertIsInt($response['body']['size']);
$this->assertLessThan(50, $response['body']['size']);
$this->assertLessThan(100, $response['body']['size']);
/**
* Test for FAILURE
@ -193,7 +193,7 @@ class HealthCustomClientTest extends Scope
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertIsInt($response['body']['size']);
$this->assertLessThan(50, $response['body']['size']);
$this->assertLessThan(100, $response['body']['size']);
/**
* Test for FAILURE

View file

@ -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;
}