Mercurial > hg > isophonics-drupal-site
comparison core/modules/media/tests/src/Functional/MediaContextualLinksTest.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
20 | 20 |
21 /** | 21 /** |
22 * Tests contextual links. | 22 * Tests contextual links. |
23 */ | 23 */ |
24 public function testMediaContextualLinks() { | 24 public function testMediaContextualLinks() { |
25 \Drupal::configFactory() | |
26 ->getEditable('media.settings') | |
27 ->set('standalone_url', TRUE) | |
28 ->save(TRUE); | |
29 | |
30 $this->container->get('router.builder')->rebuild(); | |
31 | |
25 // Create a media type. | 32 // Create a media type. |
26 $mediaType = $this->createMediaType('test'); | 33 $mediaType = $this->createMediaType('test'); |
27 | 34 |
28 // Create a media item. | 35 // Create a media item. |
29 $media = Media::create([ | 36 $media = Media::create([ |