mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 05:44:04 +00:00
Improve HTTP tests with custom assertion method
This commit is contained in:
parent
f328fc9c08
commit
cb2bd018aa
2 changed files with 12 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ class PathIdentificationTest extends TestCase
|
|||
|
||||
$this
|
||||
->get('/acme/foo/abc/xyz')
|
||||
->assertSee('abc + xyz');
|
||||
->assertContent('abc + xyz');
|
||||
|
||||
$this->assertTrue(tenancy()->initialized);
|
||||
$this->assertSame('acme', tenant('id'));
|
||||
|
|
@ -77,6 +77,6 @@ class PathIdentificationTest extends TestCase
|
|||
|
||||
$this
|
||||
->get('/acme/foo/abc/xyz')
|
||||
->assertSee('foo');
|
||||
->assertContent('foo');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue