Skip to content

Commit abeb730

Browse files
committed
Update tests
1 parent e8923ab commit abeb730

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"require-dev": {
2323
"wp-cli/entity-command": "2.5",
2424
"wp-cli/scaffold-package-command": "^2",
25-
"wp-cli/wp-cli-tests": "^4"
25+
"wp-cli/wp-cli-tests": "dev-main"
2626
},
2727
"minimum-stability": "dev",
2828
"prefer-stable": true,

src/DatabaseCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public function reset( $args, $assoc_args ) {
3535
'author' => null,
3636
);
3737

38+
str_contains( 'abc', '' );
39+
3840
$assoc_args = \wp_parse_args( $assoc_args, $defaults );
3941

4042
$author = $assoc_args['author'];

0 commit comments

Comments
 (0)