1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:34:04 +00:00

Facade tests

This commit is contained in:
Samuel Štancl 2019-09-19 20:41:00 +02:00
parent c9903cd43c
commit f0dd99f099
5 changed files with 20 additions and 7 deletions

View file

@ -15,14 +15,14 @@ class TenantAssetTest extends TestCase
// response()->file() returns BinaryFileResponse whose content is
// inaccessible via getContent, so ->assertSee() can't be used
// $this->get(tenant_asset($filename))->assertSuccessful(); // todo commented assertions
// $this->assertFileExists($path); // todo commented assertions
// $this->get(tenant_asset($filename))->assertSuccessful(); // todo2 commented assertions
// $this->assertFileExists($path); // todo2 commented assertions
$f = fopen($path, 'r');
$content = fread($f, filesize($path));
fclose($f);
// $this->assertSame('bar', $content); // todo commented assertions
// $this->assertSame('bar', $content); // todo2 commented assertions
$this->assertTrue(true);
}
}