From fa5539bebd1431ffa7f8dc5623d90738689ad181 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sun, 18 Dec 2022 10:36:04 +0100 Subject: [PATCH] Change name of tested field to be more realistic --- .../tests/Feature/Commands/MakePublicationCommandTest.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/framework/tests/Feature/Commands/MakePublicationCommandTest.php b/packages/framework/tests/Feature/Commands/MakePublicationCommandTest.php index 39e4f4eea14..f6f2a608908 100644 --- a/packages/framework/tests/Feature/Commands/MakePublicationCommandTest.php +++ b/packages/framework/tests/Feature/Commands/MakePublicationCommandTest.php @@ -140,13 +140,14 @@ public function test_command_with_text_input() { InputStreamHandler::mockInput("Hello\nWorld"); $this->makeSchemaFile([ - 'fields' => [[ + 'canonicalField' => 'description', + 'fields' => [[ 'type' => 'text', - 'name' => 'title', + 'name' => 'description', 'min' => '0', 'max' => '0', ], - ], + ], ]); $this->artisan('make:publication test-publication') ->assertExitCode(0);