Skip to content

Commit

Permalink
🐛 more fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
willpower232 committed Dec 24, 2024
1 parent 25776eb commit 5d43c4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/AuditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/AuditableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 5d43c4a

Please sign in to comment.