mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 06:44:02 +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.
|
// should statistically be above 1 billion.
|
||||||
try {
|
try {
|
||||||
$tenant1 = Tenant::create();
|
$tenant1 = Tenant::create();
|
||||||
expect($tenant1->id)->toBeString();
|
|
||||||
assert((int) $tenant1->id > 10**9);
|
assert((int) $tenant1->id > 10**9);
|
||||||
} catch (\AssertionError) {
|
} catch (\AssertionError) {
|
||||||
// retry
|
// retry
|
||||||
$tenant1 = Tenant::create();
|
$tenant1 = Tenant::create();
|
||||||
expect($tenant1->id)->toBeString();
|
|
||||||
assert((int) $tenant1->id > 10**9);
|
assert((int) $tenant1->id > 10**9);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue