Fix database management for servers
This commit is contained in:
parent
63e39fbe58
commit
3add44d342
3 changed files with 62 additions and 74 deletions
|
@ -246,7 +246,7 @@ class CreationServiceTest extends TestCase
|
|||
self::TEST_DATA['database'], self::TEST_DATA['username'], self::TEST_DATA['remote'], 'dynamic'
|
||||
)->once()->andReturnNull();
|
||||
|
||||
$this->repository->shouldReceive('flush')->withNoArgs()->once()->andReturnNull();
|
||||
$this->repository->shouldReceive('flush')->with('dynamic')->once()->andReturnNull();
|
||||
$this->database->shouldReceive('commit')->withNoArgs()->once()->andReturnNull();
|
||||
|
||||
$response = $this->service->changePassword(1, 'new_password');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue