diff --git a/tests/Unit/AuditTest.php b/tests/Unit/AuditTest.php index dfc1b52d..1013bb48 100644 --- a/tests/Unit/AuditTest.php +++ b/tests/Unit/AuditTest.php @@ -235,7 +235,7 @@ public function itReturnsProperCommandLineInUrlAuditMetadata() $this->assertNotNull($audit); - self::Assert()::assertEquals($audit->getMetadata()['audit_url'], 'vendor/bin/phpunit tests/Unit/AuditTest.php --group command-line-url-resolver'); + Assert::assertEquals($audit->getMetadata()['audit_url'], 'vendor/bin/phpunit tests/Unit/AuditTest.php --group command-line-url-resolver'); } /** diff --git a/tests/Unit/AuditableTest.php b/tests/Unit/AuditableTest.php index 8a9c43a4..8e728dcb 100644 --- a/tests/Unit/AuditableTest.php +++ b/tests/Unit/AuditableTest.php @@ -1432,7 +1432,7 @@ public function itWorksWhenConfigAllowedArrayValueIsTrue() $auditData = $model->toAudit(); $morphPrefix = config('audit.user.morph_prefix', 'user'); - self::Assert()::assertArraySubset([ + Assert::assertArraySubset([ 'old_values' => [], 'new_values' => [ 'title' => 'How To Audit Eloquent Models', @@ -1477,7 +1477,7 @@ public function itWorksWhenConfigAllowedArrayValueIsFalse() $auditData = $model->toAudit(); $morphPrefix = config('audit.user.morph_prefix', 'user'); - self::Assert()::assertArraySubset([ + Assert::assertArraySubset([ 'old_values' => [], 'new_values' => [ 'title' => 'How To Audit Eloquent Models',