Skip to content

Commit c47cd3c

Browse files
committed
Removed a dependency injection in the integration tests setUp method, so that the callService is automatically instantiated by the constructor of the ApiService.
1 parent b5e08b6 commit c47cd3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/Integration/ApiServiceTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ class ApiServiceTest extends WebTestCase
1515
public function setUp()
1616
{
1717
parent::setUp();
18-
$callService = new \petrepatrasc\BlizzardApiBundle\Service\CallService();
19-
$this->apiService = new \petrepatrasc\BlizzardApiBundle\Service\ApiService($callService);
18+
$this->apiService = new \petrepatrasc\BlizzardApiBundle\Service\ApiService();
2019
}
2120

2221
public function testGetProfileSanityCheckThatApiIsActuallyResponding()

0 commit comments

Comments
 (0)