mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
Fix a lot of bugs, fix #23
This commit is contained in:
parent
39d9c9d51e
commit
22fc843ce3
10 changed files with 88 additions and 23 deletions
15
tests/TenantAssetTest.php
Normal file
15
tests/TenantAssetTest.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Tests;
|
||||
|
||||
class TenantAssetTest extends TestCase
|
||||
{
|
||||
/** @test */
|
||||
public function asset_can_be_accessed_using_the_url_returned_by_the_tenant_asset_helper()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
$filename = 'testfile' . $this->randomString(10);
|
||||
\Storage::disk('public')->put($filename, 'bar');
|
||||
$this->get(tenant_asset($filename))->assertSee('bar');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue