Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
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
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
236ecf01
Commit
236ecf01
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Help debug travis
parent
ac361080
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/phpunit/RestAPIUserTest.php
+1
-1
1 addition, 1 deletion
test/phpunit/RestAPIUserTest.php
with
1 addition
and
1 deletion
test/phpunit/RestAPIUserTest.php
+
1
−
1
View file @
236ecf01
...
@@ -114,7 +114,7 @@ class RestAPIUserTest extends PHPUnit_Framework_TestCase
...
@@ -114,7 +114,7 @@ class RestAPIUserTest extends PHPUnit_Framework_TestCase
$url
=
$this
->
api_url
.
'/login?login='
.
$login
.
'&password='
.
$password
;
$url
=
$this
->
api_url
.
'/login?login='
.
$login
.
'&password='
.
$password
;
// Call the API login method to save api_key for this test class
// Call the API login method to save api_key for this test class
$result
=
getURLContent
(
$url
,
'GET'
,
''
,
1
,
array
());
$result
=
getURLContent
(
$url
,
'GET'
,
''
,
1
,
array
());
//
print __METHOD__." result = ".var_export($result, true)."\n";
print
__METHOD__
.
" result = "
.
var_export
(
$result
,
true
)
.
"
\n
"
;
print
__METHOD__
.
" curl_error_no: "
.
$result
[
'curl_error_no'
]
.
"
\n
"
;
print
__METHOD__
.
" curl_error_no: "
.
$result
[
'curl_error_no'
]
.
"
\n
"
;
$this
->
assertEquals
(
$result
[
'curl_error_no'
],
''
);
$this
->
assertEquals
(
$result
[
'curl_error_no'
],
''
);
$object
=
json_decode
(
$result
[
'content'
],
true
);
$object
=
json_decode
(
$result
[
'content'
],
true
);
...
...
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