Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
field_collection
Commits
16c05486
Commit
16c05486
authored
Mar 29, 2019
by
Ra Mänd
Browse files
Shorten statements.
parent
2359a830
Changes
1
Hide whitespace changes
Inline
Side-by-side
field_collection.test
View file @
16c05486
...
@@ -70,7 +70,7 @@ class FieldCollectionBasicTestCase extends DrupalWebTestCase {
...
@@ -70,7 +70,7 @@ class FieldCollectionBasicTestCase extends DrupalWebTestCase {
if
(
!
isset
(
$message
))
{
if
(
!
isset
(
$message
))
{
$message
=
$text
;
$message
=
$text
;
}
}
return
$this
->
assertTrue
(
array
_search
(
$text
,
$_SESSION
[
'entity_crud_hook_test'
])
!==
FALSE
,
$message
,
$group
);
return
$this
->
assertTrue
(
in_
array
(
$text
,
$_SESSION
[
'entity_crud_hook_test'
]),
$message
,
$group
);
}
}
/**
/**
...
@@ -95,7 +95,7 @@ class FieldCollectionBasicTestCase extends DrupalWebTestCase {
...
@@ -95,7 +95,7 @@ class FieldCollectionBasicTestCase extends DrupalWebTestCase {
if
(
!
isset
(
$message
))
{
if
(
!
isset
(
$message
))
{
$message
=
$text
;
$message
=
$text
;
}
}
return
$this
->
assertFalse
(
array
_search
(
$text
,
$_SESSION
[
'entity_crud_hook_test'
])
!==
FALSE
,
$message
,
$group
);
return
$this
->
assertFalse
(
in_
array
(
$text
,
$_SESSION
[
'entity_crud_hook_test'
]),
$message
,
$group
);
}
}
/**
/**
...
...
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