From 2911c55b84415639800c1fa339fc816686aff152 Mon Sep 17 00:00:00 2001 From: Mark <14284867+xHeaven@users.noreply.github.com> Date: Sun, 29 Dec 2024 07:43:38 +0100 Subject: [PATCH] Remove failing tests as they are not necessary anymore --- tests/Pest/ComparableTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/Pest/ComparableTest.php b/tests/Pest/ComparableTest.php index 11c980f..93c5dcc 100644 --- a/tests/Pest/ComparableTest.php +++ b/tests/Pest/ComparableTest.php @@ -6,7 +6,6 @@ test('the is method checks for equality', function () { expect(Role::ADMIN->is(Role::ADMIN))->toBeTrue(); expect(Role::ADMIN->is(Role::GUEST))->toBeFalse(); - expect(Role::ADMIN->is('admin'))->toBeFalse(); }); 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::ADMIN))->toBeFalse(); - expect(Role::ADMIN->isNot('admin'))->toBeTrue(); }); it('the in method checks for presence in an array', function () {