Skip to content

Commit

Permalink
Remove redundant Validator test
Browse files Browse the repository at this point in the history
If for some reason `$this->validator` doesn't exist, all the other tests
will fail. This test wasn't really doing anything, other than asserting
our test setup was correct, so let's just remove it.
  • Loading branch information
RobjS committed Sep 14, 2023
1 parent 7e35193 commit 531cf02
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/dependencies/validator.spec.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
);
});

it('exists', function () {
$this->validator;
});

describe('->validate()', function () {
context('whippet.lock cannot be found, or is invalid JSON', function () {
it('returns an error', function () {
Expand Down

0 comments on commit 531cf02

Please sign in to comment.