mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
Fix assertion messages
This commit is contained in:
parent
335a122c81
commit
1e52c430e6
1 changed files with 5 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue