Skip to content

Commit

Permalink
Do not run test when skip github write is true
Browse files Browse the repository at this point in the history
  • Loading branch information
gudmdharalds committed Feb 21, 2023
1 parent 9435342 commit 0fc6d66
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/WpscanScanSaveForSubmissionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ public function testSaveForSubmissionWithLabel(): void {
return;
}

if ( vipgoci_unittests_skip_github_write_tests( $this ) ) {
return;
}

vipgoci_unittests_output_suppress();

$this->options['local-git-repo'] =
Expand Down Expand Up @@ -384,6 +388,10 @@ public function testSaveForSubmissionNoLabel(): void {
return;
}

if ( vipgoci_unittests_skip_github_write_tests( $this ) ) {
return;
}

vipgoci_unittests_output_suppress();

$this->options['local-git-repo'] =
Expand Down

0 comments on commit 0fc6d66

Please sign in to comment.