1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 03:34:03 +00:00

remove string assertions

This commit is contained in:
Samuel Štancl 2025-01-17 13:47:28 +01:00
parent 4525e0f941
commit 4ddc2be569

View file

@ -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);
} }
}); });