Skip to content

Commit

Permalink
Use name key when creating test content type.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel authored Oct 25, 2023
1 parent 00c9759 commit 8c5183b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Kernel/EventGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function setUp(): void {

$test_type = NodeType::create([
'type' => 'test_type',
'label' => 'Test Type',
'name' => 'Test Type',
]);
$test_type->save();

Expand Down

0 comments on commit 8c5183b

Please sign in to comment.