mirror of
https://github.com/friendica/friendica
synced 2025-04-26 10:30:11 +00:00
Fix wrong $this->assert...()
with `self::assert...()
This commit is contained in:
parent
b3e5621d37
commit
efaec26b1d
63 changed files with 1192 additions and 1192 deletions
|
@ -32,13 +32,13 @@ class DBATest extends DatabaseTest
|
|||
*/
|
||||
public function testExists() {
|
||||
|
||||
$this->assertTrue(DBA::exists('config', []));
|
||||
$this->assertFalse(DBA::exists('notable', []));
|
||||
self::assertTrue(DBA::exists('config', []));
|
||||
self::assertFalse(DBA::exists('notable', []));
|
||||
|
||||
$this->assertTrue(DBA::exists('config', null));
|
||||
$this->assertFalse(DBA::exists('notable', null));
|
||||
self::assertTrue(DBA::exists('config', null));
|
||||
self::assertFalse(DBA::exists('notable', null));
|
||||
|
||||
$this->assertTrue(DBA::exists('config', ['k' => 'hostname']));
|
||||
$this->assertFalse(DBA::exists('config', ['k' => 'nonsense']));
|
||||
self::assertTrue(DBA::exists('config', ['k' => 'hostname']));
|
||||
self::assertFalse(DBA::exists('config', ['k' => 'nonsense']));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue