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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
ed657d2b
Commit
ed657d2b
authored
Jun 1, 2015
by
Arnaud Aujon
Browse files
Options
Downloads
Patches
Plain Diff
hopefully fix travis errors
parent
9bd32d7b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/phpunit/WebservicesInvoicesTest.php
+5
-5
5 additions, 5 deletions
test/phpunit/WebservicesInvoicesTest.php
test/phpunit/WebservicesThirdpartyTest.php
+8
-8
8 additions, 8 deletions
test/phpunit/WebservicesThirdpartyTest.php
with
13 additions
and
13 deletions
test/phpunit/WebservicesInvoicesTest.php
+
5
−
5
View file @
ed657d2b
...
@@ -154,7 +154,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
...
@@ -154,7 +154,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
/**
/**
* testWSInvoicesCreateInvoice
* testWSInvoicesCreateInvoice
*
*
* @return
int
* @return
int
invoice created
*/
*/
public
function
testWSInvoicesCreateInvoice
()
public
function
testWSInvoicesCreateInvoice
()
{
{
...
@@ -259,7 +259,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
...
@@ -259,7 +259,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
* Retrieve an invoice using ref_ext
* Retrieve an invoice using ref_ext
* @depends testWSInvoicesCreateInvoice
* @depends testWSInvoicesCreateInvoice
*
*
* @param
result
i
nvoice created by create method
* @param
array $
result
I
nvoice created by create method
* @return array Invoice
* @return array Invoice
*/
*/
public
function
testWSInvoicesGetInvoiceByRefExt
(
$result
)
public
function
testWSInvoicesGetInvoiceByRefExt
(
$result
)
...
@@ -315,7 +315,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
...
@@ -315,7 +315,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
* Update an invoice using ref_ext
* Update an invoice using ref_ext
* @depends testWSInvoicesCreateInvoice
* @depends testWSInvoicesCreateInvoice
*
*
* @param
result
invoice created by create method
* @param
array $
result
invoice created by create method
* @return array Invoice
* @return array Invoice
*/
*/
public
function
testWSInvoicesUpdateInvoiceByRefExt
(
$result
)
public
function
testWSInvoicesUpdateInvoiceByRefExt
(
$result
)
...
...
This diff is collapsed.
Click to expand it.
test/phpunit/WebservicesThirdpartyTest.php
+
8
−
8
View file @
ed657d2b
...
@@ -229,7 +229,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
...
@@ -229,7 +229,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
* Use id to retrieve thirdparty
* Use id to retrieve thirdparty
* @depends testWSThirdpartycreateThirdParty
* @depends testWSThirdpartycreateThirdParty
*
*
* @param
result
thirdparty created by create method
* @param
array $
result
thirdparty created by create method
* @return array thirpdarty updated
* @return array thirpdarty updated
*/
*/
public
function
testWSThirdpartygetThirdPartyById
(
$result
)
public
function
testWSThirdpartygetThirdPartyById
(
$result
)
...
@@ -290,7 +290,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
...
@@ -290,7 +290,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
*
*
* @depends testWSThirdpartycreateThirdParty
* @depends testWSThirdpartycreateThirdParty
*
*
* @param
result
thirdparty created by create method
* @param
array $
result
thirdparty created by create method
* @return array thirdparty
* @return array thirdparty
*/
*/
public
function
testWSThirdpartygetThirdPartyByRefExt
(
$result
)
public
function
testWSThirdpartygetThirdPartyByRefExt
(
$result
)
...
@@ -351,7 +351,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
...
@@ -351,7 +351,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
*
*
* @depends testWSThirdpartycreateThirdParty
* @depends testWSThirdpartycreateThirdParty
*
*
* @param
result
thirdparty created by create method
* @param
array $
result
thirdparty created by create method
* @return array thirdparty
* @return array thirdparty
*/
*/
public
function
testWSThirdpartydeleteThirdPartyById
(
$result
)
public
function
testWSThirdpartydeleteThirdPartyById
(
$result
)
...
@@ -382,14 +382,14 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
...
@@ -382,14 +382,14 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
echo
$exception
;
echo
$exception
;
$result
=
0
;
$result
=
0
;
}
}
//
if (! $result || ! empty($result['faultstring'])) {
if
(
!
$result
||
!
empty
(
$result
[
'faultstring'
]))
{
print
$this
->
soapclient
->
error_str
;
print
$this
->
soapclient
->
error_str
;
print
"
\n
<br>
\n
"
;
print
"
\n
<br>
\n
"
;
print
$this
->
soapclient
->
request
;
print
$this
->
soapclient
->
request
;
print
"
\n
<br>
\n
"
;
print
"
\n
<br>
\n
"
;
print
$this
->
soapclient
->
response
;
print
$this
->
soapclient
->
response
;
print
"
\n
"
;
print
"
\n
"
;
//
}
}
print
__METHOD__
.
" result="
.
$result
[
'result'
][
'result_code'
]
.
"
\n
"
;
print
__METHOD__
.
" result="
.
$result
[
'result'
][
'result_code'
]
.
"
\n
"
;
$this
->
assertEquals
(
'OK'
,
$result
[
'result'
][
'result_code'
]);
$this
->
assertEquals
(
'OK'
,
$result
[
'result'
][
'result_code'
]);
...
...
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