Skip to content

Commit

Permalink
EWPP-2963: More D10 fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
brummbar committed Feb 17, 2023
1 parent 50ce384 commit c465d4d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ default:
region_map:
"language switcher": "#block-oe-multilingual-language-switcher"
"language dialog": "#block-oe-multilingual-language-switcher"
"page content": ".region-content"
"page content": ".region--content"
formatters:
progress: ~
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- olivero
id: oe_multilingual_language_switcher
theme: olivero
region: sidebar_first
region: sidebar
weight: 1
provider: null
plugin: 'language_block:language_interface'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class LanguageNegotiationUrlSuffixTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'classy';
protected $defaultTheme = 'starterkit_theme';

/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Behat/DrupalContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function createTestFile(string $scheme, string $name) {
$file->setPermanent();
$file->save();

$this->visitPath(file_create_url($file->getFileUri()));
$this->visitPath(\Drupal::service('file_url_generator')->generateAbsoluteString(($file->getFileUri())));
$file->delete();
}

Expand Down

0 comments on commit c465d4d

Please sign in to comment.