mirror of
https://github.com/friendica/friendica
synced 2025-05-06 17:04:12 +02: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
|
@ -66,7 +66,7 @@ class FilesystemStorageTest extends StorageTest
|
|||
|
||||
protected function assertOption(IStorage $storage)
|
||||
{
|
||||
$this->assertEquals([
|
||||
self::assertEquals([
|
||||
'storagepath' => [
|
||||
'input', 'Storage base path',
|
||||
$this->root->getChild('storage')->url(),
|
||||
|
@ -119,12 +119,12 @@ class FilesystemStorageTest extends StorageTest
|
|||
$dir = $this->root->getChild('storage/f0/c0')->url();
|
||||
$file = $this->root->getChild('storage/f0/c0/d0i0')->url();
|
||||
|
||||
$this->assertDirectoryExists($dir);
|
||||
$this->assertFileExists($file);
|
||||
self::assertDirectoryExists($dir);
|
||||
self::assertFileExists($file);
|
||||
|
||||
$this->assertDirectoryIsWritable($dir);
|
||||
$this->assertFileIsWritable($file);
|
||||
self::assertDirectoryIsWritable($dir);
|
||||
self::assertFileIsWritable($file);
|
||||
|
||||
$this->assertEquals('test', file_get_contents($file));
|
||||
self::assertEquals('test', file_get_contents($file));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue