Skip to content
Snippets Groups Projects

Issue #3502092 PHPUnit fails now that content type creation button text changed.

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -58,7 +58,7 @@ class MasqueradeLogTest extends BrowserTestBase {
$this->submitForm([
'name' => 'Type 1',
'type' => 'type1',
], 'Save content type');
], 'Save');
$assert->pageTextContains('The content type Type 1 has been added.');
$this->drupalGet($target_account->toUrl());
@@ -74,7 +74,7 @@ class MasqueradeLogTest extends BrowserTestBase {
$this->submitForm([
'name' => 'Type 2',
'type' => 'type2',
], 'Save content type');
], 'Save');
$assert->pageTextContains('The content type Type 2 has been added.');
// Check that the original username has been added to the log message.
Loading