Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443488
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-3443488
Commits
53fc09a5
Commit
53fc09a5
authored
15 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#555458
by deekayen: convert stray sprinf() syntax query to dbtng.
parent
1f1734af
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/node/node.test
+1
-1
1 addition, 1 deletion
modules/node/node.test
with
1 addition
and
1 deletion
modules/node/node.test
+
1
−
1
View file @
53fc09a5
...
...
@@ -701,7 +701,7 @@ class NodeAccessRecordsUnitTest extends DrupalWebTestCase {
$this
->
assertTrue
(
node_load
(
$node3
->
nid
),
t
(
'Unpromoted, unpublished page node created.'
));
// Check to see if grants added by node_test_node_access_records made it in.
$records
=
db_query
(
'SELECT realm, gid FROM {node_access} WHERE nid =
%
d'
,
$node3
->
nid
)
->
fetchAll
();
$records
=
db_query
(
'SELECT realm, gid FROM {node_access} WHERE nid =
:ni
d'
,
array
(
':nid'
=>
$node3
->
nid
)
)
->
fetchAll
();
$this
->
assertEqual
(
count
(
$records
),
1
,
t
(
'Returned the correct number of rows.'
));
$this
->
assertEqual
(
$records
[
0
]
->
realm
,
'test_page_realm'
,
t
(
'Grant with page_realm acquired for node without alteration.'
));
$this
->
assertEqual
(
$records
[
0
]
->
gid
,
1
,
t
(
'Grant with gid = 1 acquired for node without alteration.'
));
...
...
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