mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Tests a'hoy
This commit is contained in:
@@ -51,7 +51,7 @@ class DatabasePasswordServiceTest extends TestCase
|
||||
*
|
||||
* @dataProvider useModelDataProvider
|
||||
*/
|
||||
public function testPasswordIsChanged($useModel)
|
||||
public function testPasswordIsChanged(bool $useModel)
|
||||
{
|
||||
$model = factory(Database::class)->make();
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ class HostDeletionServiceTest extends TestCase
|
||||
*
|
||||
* @dataProvider databaseCountDataProvider
|
||||
*/
|
||||
public function testExceptionIsThrownIfDeletingHostWithDatabases($count)
|
||||
public function testExceptionIsThrownIfDeletingHostWithDatabases(int $count)
|
||||
{
|
||||
$this->databaseRepository->shouldReceive('findCountWhere')->with([['database_host_id', '=', 1234]])->once()->andReturn($count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user