mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Fix database management for servers
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user