Skip to content

Commit

Permalink
Fixed Chart test.
Browse files Browse the repository at this point in the history
  • Loading branch information
khalima committed Mar 26, 2024
1 parent c9aa211 commit bffd57e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function testMediaType() : void {
'field_helfi_chart_title[0][value]' => 'Test value',
'field_helfi_chart_transcript[0][value]' => '123',
], 'Save');
$this->assertSession()->pageTextContainsOnce('Chart Chart has been created.');
$this->assertSession()->pageTextContainsOnce('Chart embed Chart has been created.');

$medias = \Drupal::entityTypeManager()->getStorage('media')->loadByProperties([
'name' => 'Chart',
Expand Down

0 comments on commit bffd57e

Please sign in to comment.