This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via e1b1f0de943cfb0fb61e90fa72ba47a853250fd2 (commit)
from a87c4245e657d20bd37dc494dc4cbca0a8a52805 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=e1b1f0de943cfb0fb61e90fa72ba47a853250fd2
commit e1b1f0de943cfb0fb61e90fa72ba47a853250fd2
Author: Franck Villaume <[email protected]>
Date: Sun Apr 23 12:58:49 2017 +0200
fix SOAP test
diff --git a/tests/func/60_PluginsRepositoryAPI/repositoryapiTest.php
b/tests/func/60_PluginsRepositoryAPI/repositoryapiTest.php
index 0c0c6c2..33d1623 100644
--- a/tests/func/60_PluginsRepositoryAPI/repositoryapiTest.php
+++ b/tests/func/60_PluginsRepositoryAPI/repositoryapiTest.php
@@ -142,13 +142,15 @@ class RepositoryAPI extends FForge_SeleniumTestCase
// Check SOAP
$soapclient = new SoapClient(WSDL_URL,
- array('cache_wsdl' => WSDL_CACHE_NONE,
- 'trace' => true));
+ array('cache_wsdl' => WSDL_CACHE_NONE,
+ 'stream_context' =>
stream_context_create(array('ssl' => array('verify_peer' => false,
+
'verify_peer_name' => false,
+
'allow_self_signed' => true)))));
$this->assertNotNull($soapclient);
-
+
$userid = FORGE_ADMIN_USERNAME;
$passwd = FORGE_ADMIN_PASSWORD;
-
+
$response = $soapclient->login($userid, $passwd);
$session = $response;
$this->assertNotEquals($session,"");
@@ -185,12 +187,12 @@ class RepositoryAPI extends FForge_SeleniumTestCase
$response =
$soapclient->repositoryapi_repositoryInfo($session,'projecta/git/projecta');
$this->assertNotEquals(NULL,$response);
$this->assertEquals(3,count($response->repository_urls));
-
+
$response =
$soapclient->repositoryapi_repositoryInfo($session,'projectb/svn/projectb');
$this->assertNotEquals(NULL,$response);
$this->assertEquals(4,count($response->repository_urls));
- // Get activities for repositories
+ // Get activities for repositories
$response =
$soapclient->repositoryapi_repositoryActivity($session,$t0,time(),0,0);
$this->assertNotEquals(NULL,$response);
$this->assertEquals(5,count($response->activities));
-----------------------------------------------------------------------
Summary of changes:
tests/func/60_PluginsRepositoryAPI/repositoryapiTest.php | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits