mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
26 lines
No EOL
483 B
PHP
26 lines
No EOL
483 B
PHP
<?php
|
|
|
|
namespace Appwrite\Tests;
|
|
|
|
use Exception;
|
|
use Storage\Storage;
|
|
use Storage\Devices\Local;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class LocalTest extends TestCase
|
|
{
|
|
public function setUp()
|
|
{
|
|
}
|
|
|
|
public function tearDown()
|
|
{
|
|
}
|
|
|
|
public function testExists()
|
|
{
|
|
$this->assertEquals(Storage::exists('disk-a'), true);
|
|
$this->assertEquals(Storage::exists('disk-b'), true);
|
|
$this->assertEquals(Storage::exists('disk-c'), false);
|
|
}
|
|
} |