Skip to content

Commit

Permalink
Remove redundant tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Aug 15, 2023
1 parent 05589ec commit 3fc5700
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions tests/integration/Mvc/Micro/HasServiceCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,14 @@ public function mvcMicroHasService(IntegrationTester $I)
$I->wantToTest('Mvc\Micro - hasService()');

$micro = new Micro();

$di = new Di();

$micro->setDi($di);


$I->assertFalse(
$micro->hasService('fake')
);

$I->assertTrue(
$micro->hasService('application')
);

$I->assertFalse(
$micro->hasService('escaper')
);
Expand All @@ -57,7 +51,6 @@ public function mvcMicroHasService(IntegrationTester $I)


$escaper = new Escaper();

$micro->setService('escaper', $escaper);

$I->assertTrue(
Expand All @@ -75,7 +68,6 @@ public function mvcMicroHasService(IntegrationTester $I)


$router = new Router();

$di->set('router', $router);

$I->assertTrue(
Expand Down
11 changes: 0 additions & 11 deletions tests/integration/Mvc/Micro/OffsetExistsCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,14 @@ public function mvcMicroOffsetExists(IntegrationTester $I)
$I->wantToTest('Mvc\Micro - offsetExists()');

$micro = new Micro();

$di = new Di();

$micro->setDi($di);


$I->assertFalse(
isset($micro['fake'])
);

$I->assertTrue(
isset($micro['application'])
);

$I->assertFalse(
isset($micro['escaper'])
);
Expand All @@ -57,25 +51,20 @@ public function mvcMicroOffsetExists(IntegrationTester $I)


$escaper = new Escaper();

$micro->setService('escaper', $escaper);

$I->assertTrue(
isset($micro['escaper'])
);


$dispatcher = new Dispatcher();

$micro['dispatcher'] = $dispatcher;

$I->assertTrue(
isset($micro['dispatcher'])
);


$router = new Router();

$di->set('router', $router);

$I->assertTrue(
Expand Down

0 comments on commit 3fc5700

Please sign in to comment.