Fix assertion messages

This commit is contained in:
Michael 2020-11-07 11:26:56 +00:00
parent 335a122c81
commit 1e52c430e6

View file

@ -131,12 +131,12 @@ class DependencyCheckTest extends TestCase
self::assertInstanceOf(App\Mode::class, $mode);
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::DBCONFIGAVAILABLE), 'Database config is not available'));
self::assertTrue($mode->has((App\Mode::MAINTENANCEDISABLED), 'In maintenance mode'));
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::DBCONFIGAVAILABLE)), 'Database config is not available');
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()