1
0
Fork 0
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:
peter279k 2020-11-29 02:13:52 +08:00
parent 126afcd0dd
commit ce0dee4343
5 changed files with 12 additions and 12 deletions

View file

@ -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' => [],