installEntitySchema('node'); $this->installConfig(['node']); $this->installSchema('node', ['node_access']); $this->installSchema('system', ['key_value']); $this->migrateUsers(FALSE); $this->migrateFields(); $this->executeMigrations([ 'language', 'd6_language_types', 'd6_language_negotiation_settings', 'd6_node_settings', 'd6_node', 'd6_node_translation', ]); } /** * Tests that not found node translations are redirected. */ public function testNodeTranslationRedirect() { $kernel = $this->container->get('http_kernel'); $request = Request::create('/node/11'); $response = $kernel->handle($request); $this->assertSame(301, $response->getStatusCode()); $this->assertSame('/node/10', $response->getTargetUrl()); } }