From 9e1bd10ef8d7f6be58046dac7927210834d84406 Mon Sep 17 00:00:00 2001 From: llaffont <laurent.laffont@gmail.com> Date: Mon, 3 Feb 2014 09:24:46 +0100 Subject: [PATCH] Delete integration tests for Orphee webservices running on a production system --- .../WebService/SIGB/OrpheeServiceTest.php | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/tests/library/Class/WebService/SIGB/OrpheeServiceTest.php b/tests/library/Class/WebService/SIGB/OrpheeServiceTest.php index b1b87d49bbe..d64c4f844ab 100644 --- a/tests/library/Class/WebService/SIGB/OrpheeServiceTest.php +++ b/tests/library/Class/WebService/SIGB/OrpheeServiceTest.php @@ -1,4 +1,4 @@ -<?php +k<?php /** * Copyright (c) 2012, Agence Française Informatique (AFI). All rights reserved. * @@ -78,30 +78,6 @@ class OrpheeServiceGetServiceTest extends Storm_Test_ModelTestCase { public function clientWSDLShouldBeOrpheeWSDL() { $this->assertEquals('tests/fixtures/orphee.wsdl', $this->_orphee->getSearchClient()->wsdl); } - - - /** - * @group integration - * @test - */ - public function integrationTestNoticeWithRealServer() { - Class_WebService_SIGB_Orphee_Service::setSoapClientClass('Class_WebService_MappedSoapClient'); - $orphee = Class_WebService_SIGB_Orphee_Service::getService('http://opac3.pergame.net/bibliotheque-agglo-stomer.fr/userfiles/webservices/orphee.wsdl'); - $notice = $orphee->getNotice('frOr0493126904'); - $this->assertEquals('0493126904', $notice->getId()); - } - - - /** @disabledtest */ - public function integrationTestUserWithRealServer() { - Class_WebService_SIGB_Orphee_Service::setSoapClientClass('Class_WebService_MappedSoapClient'); - $orphee = Class_WebService_SIGB_Orphee_Service::getService('http://opac3.pergame.net/bibliotheque-agglo-stomer.fr/userfiles/webservices/orphee.wsdl'); - $emprunteur = $orphee->getEmprunteur(Class_Users::getLoader() - ->newInstanceWithId(2) - ->setLogin('90106000084125')); - $emprunteur->getEmprunts(); - $this->assertEquals('90211356', $emprunteur->getId()); - } } -- GitLab