protected function RestLinkManagerTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/rest/src/Tests/RestLinkManagerTest.php \Drupal\rest\Tests\RestLinkManagerTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ rest/ src/ Tests/ RestLinkManagerTest.php, line 26 - Contains \Drupal\rest\Tests\RestLinkManagerTest.
Class
- RestLinkManagerTest
- Tests that REST type and relation link managers work as expected @group rest
Namespace
Drupal\rest\TestsCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', [
'router',
]);
\Drupal::service('router.builder')
->rebuild();
}