Refactoring DBA-mocking tests

- Reducing DB-dependencies
- Creating DB-cache mocks
- Creating DB-lock mocks
- Switching to mocked dependencies for Cache/Lock/App
This commit is contained in:
Philipp Holzer
2019-01-30 20:26:17 +01:00
parent f7e95f65b1
commit 433d6abe8c
21 changed files with 848 additions and 193 deletions

View File

@@ -34,6 +34,8 @@ class CurlResultTest extends TestCase
/**
* @small
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testRedirect()
{
@@ -86,6 +88,8 @@ class CurlResultTest extends TestCase
/**
* @small
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testRedirectHeader()
{