projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
media
/
tests
/
src
/
Functional
/
MediaInstallTest.php
diff --git
a/web/core/modules/media/tests/src/Functional/MediaInstallTest.php
b/web/core/modules/media/tests/src/Functional/MediaInstallTest.php
index d13c3f06f3369bd14c8eb0c8a04501fee0dcd6d4..010f07698a941e9ca64f50b6679b979a316cd389 100644
(file)
--- a/
web/core/modules/media/tests/src/Functional/MediaInstallTest.php
+++ b/
web/core/modules/media/tests/src/Functional/MediaInstallTest.php
@@
-34,16
+34,11
@@
class MediaInstallTest extends BrowserTestBase {
// Uninstall the media module.
$this->container->get('module_installer')->uninstall(['media'], FALSE);
// Uninstall the media module.
$this->container->get('module_installer')->uninstall(['media'], FALSE);
- // Install the media module again, through a test module that depends on it.
- // Note: We use a test module because in 8.4 the media module is hidden.
- // @todo Simplify this in https://www.drupal.org/node/2897028 once it's
- // shown again.
$this->drupalGet('/admin/modules');
$this->drupalGet('/admin/modules');
- $page->checkField('modules[media
_test_views
][enable]');
+ $page->checkField('modules[media][enable]');
$page->pressButton('Install');
$page->pressButton('Install');
- $assert_session->pageTextContains('Some required modules must be enabled');
- $page->pressButton('Continue');
- $this->assertSession()->pageTextNotContains('could not be moved/copied because a file by that name already exists in the destination directory');
+ $assert_session->pageTextNotContains('could not be moved/copied because a file by that name already exists in the destination directory');
+ $assert_session->pageTextContains('Module Media has been enabled');
}
}
}
}