Skip to content

Commit

Permalink
devops: tests updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed May 3, 2024
1 parent 5f4f0c7 commit 7251189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/codeception/wpunit/QuerySuccessfulConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public function testFailingValidationRules() {
$constraint = new QuerySuccessfulConstraint(
$this->logger,
[
['InvalidRuleObject'],
[
'type' => 'FIELD',
'path' => 'invalidNodePath',
Expand Down Expand Up @@ -229,7 +230,6 @@ public function testFailingValidationRules() {
'path' => '',
'expected_value' => [],
],
['InvalidRuleObject'],
]
);
$this->assertFalse($constraint->matches($response));
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/unit/test-querysuccessfulconstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ public function test_FailingValidationRules() {
$constraint = new QuerySuccessfulConstraint(
$this->logger,
[
['InvalidRuleObject'],
[
'type' => 'FIELD',
'path' => 'invalidNodePath',
Expand Down Expand Up @@ -246,7 +247,6 @@ public function test_FailingValidationRules() {
'path' => '',
'expected_value' => [],
],
['InvalidRuleObject'],
]
);
$this->assertFalse($constraint->matches($response));
Expand Down

0 comments on commit 7251189

Please sign in to comment.