From 8c5183b9dede0f1565f51d85a3cab8e2b38325e3 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive <lefaive@gmail.com> Date: Wed, 25 Oct 2023 09:09:24 -0300 Subject: [PATCH] Use `name` key when creating test content type. --- tests/src/Kernel/EventGeneratorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Kernel/EventGeneratorTest.php b/tests/src/Kernel/EventGeneratorTest.php index 28a4ec03..34a5ae92 100644 --- a/tests/src/Kernel/EventGeneratorTest.php +++ b/tests/src/Kernel/EventGeneratorTest.php @@ -49,7 +49,7 @@ class EventGeneratorTest extends IslandoraKernelTestBase { $test_type = NodeType::create([ 'type' => 'test_type', - 'label' => 'Test Type', + 'name' => 'Test Type', ]); $test_type->save();