Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
476f2b7f
Commit
476f2b7f
authored
11 years ago
by
colemanw
Browse files
Options
Downloads
Patches
Plain Diff
test cleanup
parent
44248b7e
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
tests/phpunit/api/v3/WebsiteTest.php
+2
-2
2 additions, 2 deletions
tests/phpunit/api/v3/WebsiteTest.php
with
2 additions
and
2 deletions
tests/phpunit/api/v3/WebsiteTest.php
+
2
−
2
View file @
476f2b7f
...
...
@@ -92,12 +92,12 @@ class api_v3_WebsiteTest extends CiviUnitTestCase {
$this
->
assertEquals
(
1
,
$checkDeleted
[
'count'
],
'In line '
.
__LINE__
);
}
/**
* Test retrieval of
label
metadata
* Test retrieval of metadata
*/
public
function
testGetMetadata
()
{
$result
=
$this
->
callAPIAndDocument
(
$this
->
_entity
,
'get'
,
array
(
'options'
=>
array
(
'metadata'
=>
array
(
'fields'
)
)),
__FUNCTION__
,
__FILE__
,
'Demonostrates returning
lab
el metadata'
,
'GetWith
Label
Metadata'
);
)),
__FUNCTION__
,
__FILE__
,
'Demonostrates returning
fi
el
d
metadata'
,
'GetWithMetadata'
);
$this
->
assertEquals
(
'Website'
,
$result
[
'metadata'
][
'fields'
][
'url'
][
'title'
]);
}
/**
...
...
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