Add support for more server functionality
This commit is contained in:
parent
acbc52506c
commit
5144e0126b
16 changed files with 1049 additions and 119 deletions
tests/Unit/Services/Servers
|
@ -310,8 +310,7 @@ class DetailsModificationServiceTest extends TestCase
|
|||
|
||||
$this->database->shouldReceive('commit')->withNoArgs()->once()->andReturn(true);
|
||||
|
||||
$response = $this->service->setDockerImage($server, 'new/image');
|
||||
$this->assertTrue($response);
|
||||
$this->service->setDockerImage($server, 'new/image');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -338,8 +337,7 @@ class DetailsModificationServiceTest extends TestCase
|
|||
|
||||
$this->database->shouldReceive('commit')->withNoArgs()->once()->andReturn(true);
|
||||
|
||||
$response = $this->service->setDockerImage($server->id, 'new/image');
|
||||
$this->assertTrue($response);
|
||||
$this->service->setDockerImage($server->id, 'new/image');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue