Skip to content

Commit

Permalink
remove string assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Jan 17, 2025
1 parent 4525e0f commit 4ddc2be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/TenantModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,10 @@
// should statistically be above 1 billion.
try {
$tenant1 = Tenant::create();
expect($tenant1->id)->toBeString();
assert((int) $tenant1->id > 10**9);
} catch (\AssertionError) {
// retry
$tenant1 = Tenant::create();
expect($tenant1->id)->toBeString();
assert((int) $tenant1->id > 10**9);
}
});
Expand Down

0 comments on commit 4ddc2be

Please sign in to comment.