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
36bcedc4
Commit
36bcedc4
authored
Dec 04, 2008
by
Dries
Browse files
- Patch
#342493
by mayor: make aggregator.test work on PostgreSQL.
parent
eab8a13b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/aggregator/aggregator.test
View file @
36bcedc4
...
...
@@ -477,9 +477,8 @@ class ImportOPMLTestCase extends AggregatorTestCase {
db_delete
(
'aggregator_category'
)
->
execute
();
$category
=
$this
->
randomName
(
10
,
self
::
$prefix
);
db_insert
(
'aggregator_category'
)
$cid
=
db_insert
(
'aggregator_category'
)
->
fields
(
array
(
'cid'
=>
1
,
'title'
=>
$category
,
'description'
=>
''
,
))
...
...
@@ -490,7 +489,7 @@ class ImportOPMLTestCase extends AggregatorTestCase {
$this
->
assertFieldByName
(
'files[upload]'
,
''
,
t
(
'Looking for file upload field.'
));
$this
->
assertFieldByName
(
'remote'
,
''
,
t
(
'Looking for remote URL field.'
));
$this
->
assertFieldByName
(
'refresh'
,
''
,
t
(
'Looking for refresh field.'
));
$this
->
assertFieldByName
(
'
category[
1]'
,
'1'
,
t
(
'Looking for category field.'
));
$this
->
assertFieldByName
(
"
category[
$cid
]"
,
$cid
,
t
(
'Looking for category field.'
));
}
/**
...
...
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