mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 01:14:03 +00:00
Improve PHPUnit assertions
This commit is contained in:
parent
126afcd0dd
commit
ce0dee4343
5 changed files with 12 additions and 12 deletions
|
|
@ -25,7 +25,7 @@ class TenantConfigTest extends TestCase
|
|||
/** @test */
|
||||
public function config_is_merged_and_removed()
|
||||
{
|
||||
$this->assertSame(null, config('services.paypal'));
|
||||
$this->assertNull(config('services.paypal'));
|
||||
config([
|
||||
'tenancy.features' => [TenantConfig::class],
|
||||
'tenancy.bootstrappers' => [],
|
||||
|
|
@ -56,7 +56,7 @@ class TenantConfigTest extends TestCase
|
|||
/** @test */
|
||||
public function the_value_can_be_set_to_multiple_config_keys()
|
||||
{
|
||||
$this->assertSame(null, config('services.paypal'));
|
||||
$this->assertNull(config('services.paypal'));
|
||||
config([
|
||||
'tenancy.features' => [TenantConfig::class],
|
||||
'tenancy.bootstrappers' => [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue