1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 15:34:04 +00:00

Remove failing tests as they are not necessary anymore

This commit is contained in:
Mark 2024-12-29 07:43:38 +01:00
parent 25f544c451
commit 2911c55b84
No known key found for this signature in database
GPG key ID: 79CFF7869BD39873

View file

@ -6,7 +6,6 @@ test('the is method checks for equality', function () {
expect(Role::ADMIN->is(Role::ADMIN))->toBeTrue(); expect(Role::ADMIN->is(Role::ADMIN))->toBeTrue();
expect(Role::ADMIN->is(Role::GUEST))->toBeFalse(); expect(Role::ADMIN->is(Role::GUEST))->toBeFalse();
expect(Role::ADMIN->is('admin'))->toBeFalse();
}); });
it('the isNot method checks for inequality', function () { it('the isNot method checks for inequality', function () {
@ -16,7 +15,6 @@ it('the isNot method checks for inequality', function () {
expect(Role::ADMIN->isNot(Role::GUEST))->toBeTrue(); expect(Role::ADMIN->isNot(Role::GUEST))->toBeTrue();
expect(Role::ADMIN->isNot(Role::ADMIN))->toBeFalse(); expect(Role::ADMIN->isNot(Role::ADMIN))->toBeFalse();
expect(Role::ADMIN->isNot('admin'))->toBeTrue();
}); });
it('the in method checks for presence in an array', function () { it('the in method checks for presence in an array', function () {