Fix assertion messages
This commit is contained in:
parent
335a122c81
commit
1e52c430e6
|
@ -131,12 +131,12 @@ class DependencyCheckTest extends TestCase
|
||||||
|
|
||||||
self::assertInstanceOf(App\Mode::class, $mode);
|
self::assertInstanceOf(App\Mode::class, $mode);
|
||||||
|
|
||||||
self::assertTrue($mode->has((App\Mode::LOCALCONFIGPRESENT), 'No local config present'));
|
self::assertTrue($mode->has((App\Mode::LOCALCONFIGPRESENT)), 'No local config present');
|
||||||
self::assertTrue($mode->has((App\Mode::DBAVAILABLE), 'Database is not available'));
|
self::assertTrue($mode->has((App\Mode::DBAVAILABLE)), 'Database is not available');
|
||||||
self::assertTrue($mode->has((App\Mode::DBCONFIGAVAILABLE), 'Database config is not available'));
|
self::assertTrue($mode->has((App\Mode::DBCONFIGAVAILABLE)), 'Database config is not available');
|
||||||
self::assertTrue($mode->has((App\Mode::MAINTENANCEDISABLED), 'In maintenance mode'));
|
self::assertTrue($mode->has((App\Mode::MAINTENANCEDISABLED)), 'In maintenance mode');
|
||||||
|
|
||||||
// self::assertTrue($mode->isNormal(), 'Not in normal mode');
|
self::assertTrue($mode->isNormal(), 'Not in normal mode');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testConfiguration()
|
public function testConfiguration()
|
||||||
|
|
Loading…
Reference in a new issue