From 5ec9d2e0e127ff0c5b65526bcb355ab3e9372f74 Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Sun, 18 Aug 2024 12:18:40 +0545 Subject: [PATCH] Update tests --- composer.json | 2 +- src/DatabaseCommand.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0efdfc2..e97e8f1 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require-dev": { "wp-cli/entity-command": "2.5", "wp-cli/scaffold-package-command": "^2", - "wp-cli/wp-cli-tests": "^4" + "wp-cli/wp-cli-tests": "dev-main" }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/src/DatabaseCommand.php b/src/DatabaseCommand.php index 7acfaec..0901256 100644 --- a/src/DatabaseCommand.php +++ b/src/DatabaseCommand.php @@ -35,6 +35,8 @@ public function reset( $args, $assoc_args ) { 'author' => null, ); + str_contains( 'abc', '' ); + $assoc_args = \wp_parse_args( $assoc_args, $defaults ); $author = $assoc_args['author'];