Skip to content

Commit 0f36b89

Browse files
committed
Skip whoami check if PrintNode account id not present
1 parent 4b305ed commit 0f36b89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Feature/Api/PrintNode/Service/WhoamiServiceTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323

2424
expect($response->id)->toEqual(env('PRINT_NODE_ID'));
2525
});
26-
});
26+
})->skip(
27+
fn (): bool => blank(env('PRINT_NODE_ID')),
28+
'Skipping because PrintNode account ID was not resolved.',
29+
);
2730

2831
describe('fake api calls', function () {
2932
beforeEach(function () {

0 commit comments

Comments
 (0)