diff --git a/tests/phpunit/test-cli.php b/tests/phpunit/test-cli.php index 43e6de7..42f7392 100644 --- a/tests/phpunit/test-cli.php +++ b/tests/phpunit/test-cli.php @@ -39,7 +39,7 @@ public function testMigratePostTypePost() : void { $command = new CLI\Migrate_Command; $command->wp_authors( [], [ 'dry-run' => false, - 'post_type' => 'post', // Note, have to set default values manually. + 'post-type' => 'post', // Note, have to set default values manually. ] ); // Check migration command has correctly set the author.