mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:24:04 +00:00
remove string assertions
This commit is contained in:
parent
4525e0f941
commit
4ddc2be569
1 changed files with 0 additions and 2 deletions
|
|
@ -95,12 +95,10 @@ test('random ints are supported', function () {
|
|||
// 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);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue