Skip to content

Commit

Permalink
EWPP-3578: Fix d10.2 test error.
Browse files Browse the repository at this point in the history
  • Loading branch information
22Alexandra committed Jan 7, 2025
1 parent 03a934f commit aebeb3c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected function setUp(): void {
'language_content[enabled][language-url]' => 0,
];
$this->drupalGet('admin/config/regional/language/detection');
$this->submitForm($edit, t('Save settings'));
$this->submitForm($edit, 'Save settings');
}

/**
Expand All @@ -88,14 +88,14 @@ public function testInbound(): void {
'suffix[en]' => 'eng',
];
$this->drupalGet('/admin/config/regional/language/detection/url-suffix_en', ['external' => FALSE]);
$this->submitForm($edit, $this->t('Save configuration'));
$this->submitForm($edit, 'Save configuration');

$nodeValues = [
'title[0][value]' => 'Test',
'path[0][alias]' => '/test_eng',
];
$this->drupalGet('/node/add/article_eng', ['external' => FALSE]);
$this->submitForm($nodeValues, $this->t('Save'));
$this->submitForm($nodeValues, 'Save');
$this->assertSession()->statusCodeEquals(200);

$this->drupalGet('/test_eng_eng', ['external' => FALSE]);
Expand Down

0 comments on commit aebeb3c

Please sign in to comment.