1
0
Fork 0
mirror of synced 2024-07-08 07:55:48 +12:00
appwrite/tests/unit/Storage/Devices/LocalTest.php

26 lines
483 B
PHP
Raw Normal View History

<?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);
}
}