Skip to content

Commit

Permalink
Merge pull request #18 from justlevine/fix/not-falsy-constants
Browse files Browse the repository at this point in the history
fix: set `NOT_FALSY` to `..._not_falsy`.
  • Loading branch information
kidunot89 authored Apr 6, 2022
2 parents 662435b + add9efc commit 42ed39d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/TestCase/WPGraphQLTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class WPGraphQLTestCase extends \Codeception\TestCase\WPTestCase {
// Possible field anonymous values.
const NOT_NULL = 'codecept_field_value_not_null';
const IS_NULL = 'codecept_field_value_is_null';
const NOT_FALSY = 'codecept_field_value_is_falsy';
const NOT_FALSY = 'codecept_field_value_not_falsy';
const IS_FALSY = 'codecept_field_value_is_falsy';

// Search operation enumerations.
Expand Down
4 changes: 2 additions & 2 deletions src/TestCase/WPGraphQLUnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ abstract class WPGraphQLUnitTestCase extends \WP_UnitTestCase {
// Possible field anonymous values.
const NOT_NULL = 'phpunit_field_value_not_null';
const IS_NULL = 'phpunit_field_value_is_null';
const NOT_FALSY = 'phpunit_field_value_is_falsy';
const NOT_FALSY = 'phpunit_field_value_not_falsy';
const IS_FALSY = 'phpunit_field_value_is_falsy';

// Search operation enumerations.
Expand All @@ -41,4 +41,4 @@ public static function logData( $data ) {

fwrite( STDOUT, $data );
}
}
}

0 comments on commit 42ed39d

Please sign in to comment.