.../config/src/Tests/ConfigImportUITest.php | 36 +++++++++++-----------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/core/modules/config/src/Tests/ConfigImportUITest.php b/core/modules/config/src/Tests/ConfigImportUITest.php
index 4d448cd..ab6ebef 100644
--- a/core/modules/config/src/Tests/ConfigImportUITest.php
+++ b/core/modules/config/src/Tests/ConfigImportUITest.php
@@ -103,22 +103,22 @@ function testImport() {
// Verify that both appear as ready to import.
$this->drupalGet('admin/config/development/configuration');
- $this->assertText($name);
- $this->assertText($dynamic_name);
- $this->assertText('core.extension');
- $this->assertText('system.theme');
- $this->assertText('action.settings');
- $this->assertText('bartik.settings');
+ $this->assertRaw('
' . $name);
+ $this->assertRaw(' | ' . $dynamic_name);
+ $this->assertRaw(' | core.extension');
+ $this->assertRaw(' | system.theme');
+ $this->assertRaw(' | action.settings');
+ $this->assertRaw(' | bartik.settings');
$this->assertFieldById('edit-submit', t('Import all'));
// Import and verify that both do not appear anymore.
$this->drupalPostForm(NULL, array(), t('Import all'));
- $this->assertNoText($name);
- $this->assertNoText($dynamic_name);
- $this->assertNoText('core.extension');
- $this->assertNoText('system.theme');
- $this->assertNoText('action.settings');
- $this->assertNoText('bartik.settings');
+ $this->assertNoRaw(' | ' . $name);
+ $this->assertNoRaw(' | ' . $dynamic_name);
+ $this->assertNoRaw(' | core.extension');
+ $this->assertNoRaw(' | system.theme');
+ $this->assertNoRaw(' | action.settings');
+ $this->assertNoRaw(' | bartik.settings');
$this->assertNoFieldById('edit-submit', t('Import all'));
@@ -180,15 +180,15 @@ function testImport() {
// Verify that both appear as ready to import.
$this->drupalGet('admin/config/development/configuration');
- $this->assertText('core.extension');
- $this->assertText('system.theme');
- $this->assertText('action.settings');
+ $this->assertRaw(' | core.extension');
+ $this->assertRaw(' | system.theme');
+ $this->assertRaw(' | action.settings');
// Import and verify that both do not appear anymore.
$this->drupalPostForm(NULL, array(), t('Import all'));
- $this->assertNoText('core.extension');
- $this->assertNoText('system.theme');
- $this->assertNoText('action.settings');
+ $this->assertNoRaw(' | core.extension');
+ $this->assertNoRaw(' | system.theme');
+ $this->assertNoRaw(' | action.settings');
$this->rebuildContainer();
$this->assertFalse(\Drupal::moduleHandler()->moduleExists('ban'), 'Ban module uninstalled during import.');
|