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

Get multiple envs (redis/db) to run correctly

This commit is contained in:
Samuel Štancl 2019-09-17 19:39:57 +02:00
parent 9c9858e97e
commit 8565cc7acc
19 changed files with 31 additions and 35 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->assertTrue(true); // TODO COMMENTED ASSERTIONS
// $this->assertSame('bar', $content); // TODO2 COMMENTED ASSERTIONS
$this->assertTrue(true); // TODO2 COMMENTED ASSERTIONS
}
}