mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 14:14:05 +00:00
Remove failing tests as they are not necessary anymore
This commit is contained in:
parent
25f544c451
commit
2911c55b84
1 changed files with 0 additions and 2 deletions
|
|
@ -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 () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue