Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
374e41d6
Commit
374e41d6
authored
Sep 30, 2011
by
catch
Browse files
Issue
#1294284
by Chi: Code style fix for field_ui().test.
parent
03b443e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/field_ui/field_ui.test
View file @
374e41d6
...
...
@@ -26,7 +26,7 @@ class FieldUITestCase extends DrupalWebTestCase {
$this
->
drupalLogin
(
$admin_user
);
// Create content type, with underscores.
$type_name
=
strtolower
(
$this
->
randomName
(
8
))
.
'_
'
.
'
test'
;
$type_name
=
strtolower
(
$this
->
randomName
(
8
))
.
'_test'
;
$type
=
$this
->
drupalCreateContentType
(
array
(
'name'
=>
$type_name
,
'type'
=>
$type_name
));
$this
->
type
=
$type
->
type
;
// Store a valid URL name, with hyphens instead of underscores.
...
...
@@ -343,7 +343,7 @@ class FieldUIManageFieldsTestCase extends FieldUITestCase {
$this
->
fieldUIAddNewField
(
$bundle_path1
,
$edit1
);
// Create an additional node type.
$type_name2
=
strtolower
(
$this
->
randomName
(
8
))
.
'_
'
.
'
test'
;
$type_name2
=
strtolower
(
$this
->
randomName
(
8
))
.
'_test'
;
$type2
=
$this
->
drupalCreateContentType
(
array
(
'name'
=>
$type_name2
,
'type'
=>
$type_name2
));
$type_name2
=
$type2
->
type
;
$hyphen_type2
=
str_replace
(
'_'
,
'-'
,
$type_name2
);
...
...
Write
Preview
Markdown
is supported
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