1
0
Fork 0
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:
Samuel Štancl 2020-05-10 19:53:34 +02:00
parent f328fc9c08
commit cb2bd018aa
2 changed files with 12 additions and 3 deletions

View file

@ -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');
}
}