Skip to content

Commit

Permalink
Do not draft PRs for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gudmdharalds committed Aug 11, 2020
1 parent cbc7ac5 commit 130a585
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/9LintLintScanCommitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ protected function setUp() {

$this->options['branches-ignore'] = array();

$this->options['skip-draft-prs'] = false;

global $vipgoci_debug_level;
$vipgoci_debug_level = 2;
}
Expand Down
2 changes: 2 additions & 0 deletions tests/ApAutoApprovalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ protected function setUp() {
// Same, not used, but needs to be defined
$this->options['autoapprove-php-nonfunctional-changes'] = false;

$this->options['skip-draft-prs'] = false;

$this->cleanup_prs();
}

Expand Down
2 changes: 2 additions & 0 deletions tests/ApFileTypesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ protected function setUp() {
);

$this->options['branches-ignore'] = array();

$this->options['skip-draft-prs'] = false;
}

protected function tearDown() {
Expand Down
2 changes: 2 additions & 0 deletions tests/ApHashesApiScanCommitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ protected function setUp() {
vipgoci_unittests_setup_git_repo(
$this->options
);

$this->options['skip-draft-prs'] = false;
}

protected function tearDown() {
Expand Down
2 changes: 2 additions & 0 deletions tests/ApNonfunctionalChangesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ protected function setUp() {
vipgoci_unittests_setup_git_repo(
$this->options
);

$this->options['skip-draft-prs'] = false;
}

protected function tearDown() {
Expand Down
2 changes: 2 additions & 0 deletions tests/ApSvgFilesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ protected function setUp() {
);

$this->options['branches-ignore'] = array();

$this->options['skip-draft-prs'] = false;
}

protected function tearDown() {
Expand Down
2 changes: 2 additions & 0 deletions tests/PhpcsScanScanCommitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ protected function setUp() {
$this->options['lint-skip-folders'] = array();

$this->options['phpcs-skip-folders'] = array();

$this->options['skip-draft-prs'] = false;
}

protected function tearDown() {
Expand Down
2 changes: 2 additions & 0 deletions tests/PhpcsScanValidateSniffsInOptionAndReportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ protected function setUp() {

vipgoci_unittests_output_unsuppress();
}

$this->options['skip-draft-prs'] = false;
}

protected function tearDown() {
Expand Down
2 changes: 2 additions & 0 deletions tests/SupportLevelLabelSetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ protected function setUp() {

$this->options['set-support-level-label-prefix'] =
'[MySupport Level]';

$this->options['skip-draft-prs'] = false;
}

protected function tearDown() {
Expand Down

0 comments on commit 130a585

Please sign in to comment.