Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_base_profile
Commits
2e8376a1
Commit
2e8376a1
authored
Sep 22, 2021
by
Lily Yan
Browse files
ISTWCMS-4535 Change assertNotEqual() to assertNotEquals()
Change record:
https://www.drupal.org/node/3129738
parent
fea8bf1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/src/Functional/UwWcmsBasicTest.php
View file @
2e8376a1
...
...
@@ -1763,7 +1763,7 @@ class UwWcmsBasicTest extends BrowserTestBase {
// The default color is 'Default[uWaterloo]' and not have "none" option.
$options
=
$this
->
getOptions
(
'settings[block_form][field_uw_ff_fact_figure][0][subform][field_uw_ff_def_color]'
);
foreach
(
$options
as
$option
)
{
$this
->
assertNotEqual
(
'- None -'
,
$option
);
$this
->
assertNotEqual
s
(
'- None -'
,
$option
);
}
$this
->
assertFieldByXPath
(
'//option[@value="org-default" and @selected="selected"]'
,
NULL
,
'Default uWaterloo is selected.'
);
// The type includes 'Small highlight' with value 'small'.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment