Changeset 27783
- Timestamp:
- 02/09/10 14:04:51 (1 month ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfPhpunitPlugin/branches/1.2/lib/testcase/amf/sfPhpunitAmfService.php
r27207 r27783 1 1 <?php 2 3 if (!class_exists('SabreAMF_Client', true)) require_once 'SabreAMF/Client.php';4 2 5 3 /** … … 16 14 $_service = false; 17 15 18 public function __construct($service, SabreAMF_Client $client)16 public function __construct($service, sfPhpunitAmfClient $client) 19 17 { 20 18 $this->setService($service); plugins/sfPhpunitPlugin/branches/1.2/lib/testcase/sfBasePhpunitAmfTestCase.class.php
r27207 r27783 112 112 * @return SabreAMF_Client 113 113 */ 114 protected function _getClient( )114 protected function _getClient($endpoint = null) 115 115 { 116 return new SabreAMF_Client($this->_getAmfEndPoint());116 return new sfPhpunitAmfClient($endpoint); 117 117 } 118 118 … … 124 124 * @return sfPhpunitAmfService 125 125 */ 126 protected function service( SabreAMF_Client $client = null)126 protected function service(sfPhpunitAmfClient $client = null) 127 127 { 128 128 if (false === $this->_amfservice) {

