Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
617870d4
Commit
617870d4
authored
8 years ago
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2697933
by felribeiro: Replace "does not" with "do not" in SearchLanguageTest
parent
c48884e3
No related branches found
Branches containing commit
Tags
8.0-alpha4
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/search/src/Tests/SearchLanguageTest.php
+4
-4
4 additions, 4 deletions
core/modules/search/src/Tests/SearchLanguageTest.php
with
4 additions
and
4 deletions
core/modules/search/src/Tests/SearchLanguageTest.php
+
4
−
4
View file @
617870d4
...
...
@@ -117,10 +117,10 @@ function testLanguages() {
// Check for Spanish results.
$this
->
assertLink
(
'Second node this is the Spanish title'
,
0
,
'Second node Spanish title found in search results'
);
$this
->
assertLink
(
'Third node es'
,
0
,
'Third node Spanish found in search results'
);
// Ensure that results do
es
n't contain other language nodes.
$this
->
assertNoLink
(
'First node en'
,
'Search results do
es
not contain first English node'
);
$this
->
assertNoLink
(
'Second node en'
,
'Search results do
es
not contain second English node'
);
$this
->
assertNoLink
(
'Third node en'
,
'Search results do
es
not contain third English node'
);
// Ensure that results don't contain other language nodes.
$this
->
assertNoLink
(
'First node en'
,
'Search results do not contain first English node'
);
$this
->
assertNoLink
(
'Second node en'
,
'Search results do not contain second English node'
);
$this
->
assertNoLink
(
'Third node en'
,
'Search results do not contain third English node'
);
// Change the default language and delete English.
$path
=
'admin/config/regional/language'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment