X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fvideo_embed_field%2Ftests%2Fsrc%2FFunctional%2FWidgetTest.php;fp=web%2Fmodules%2Fcontrib%2Fvideo_embed_field%2Ftests%2Fsrc%2FFunctional%2FWidgetTest.php;h=798aa7579b7867d453e8527b03d4f2715b79f818;hp=c8da9af71c9195f90ce3c55afdea1485142da75f;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/video_embed_field/tests/src/Functional/WidgetTest.php b/web/modules/contrib/video_embed_field/tests/src/Functional/WidgetTest.php index c8da9af71..798aa7579 100644 --- a/web/modules/contrib/video_embed_field/tests/src/Functional/WidgetTest.php +++ b/web/modules/contrib/video_embed_field/tests/src/Functional/WidgetTest.php @@ -39,14 +39,14 @@ class WidgetTest extends BrowserTestBase { $this->submitForm([ 'title[0][value]' => $node_title, $this->fieldName . '[0][value]' => 'Some useless value.', - ], t('Save and publish')); + ], t('Save')); $this->assertSession()->pageTextContains('Could not find a video provider to handle the given URL.'); // Test a valid input. $valid_input = 'https://vimeo.com/80896303'; $this->submitForm([ $this->fieldName . '[0][value]' => $valid_input, - ], t('Save and publish')); + ], t('Save')); $this->assertSession()->pageTextContains(sprintf('%s %s has been created.', $this->contentTypeName, $node_title)); // Load the saved node and assert the valid value was saved into the field.