Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3174996
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
drupal-3174996
Commits
36bcedc4
Commit
36bcedc4
authored
16 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#342493
by mayor: make aggregator.test work on PostgreSQL.
parent
eab8a13b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/aggregator/aggregator.test
+2
-3
2 additions, 3 deletions
modules/aggregator/aggregator.test
with
2 additions
and
3 deletions
modules/aggregator/aggregator.test
+
2
−
3
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.'
));
}
/**
...
...
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