PHP Classes

Example does not work out of the box

Recommend this page to a friend!

      PHP WSDL Generator  >  All threads  >  Example does not work out of the box  >  (Un) Subscribe thread alerts  
Subject:Example does not work out of the box
Summary:Example does not work out of the box
Messages:3
Author:Vladimir
Date:2013-12-11 13:44:25
Update:2013-12-11 18:31:03
 

  1. Example does not work out of the box   Reply   Report abuse  
Picture of Vladimir Vladimir - 2013-12-11 13:44:25
After unzipping & running Composer update I got the following error message when running the example PHP file:

Fatal error: Class 'PHPUnit_Framework_TestCase' not found in C:\xampp\htdocs\php2wsdl-2013-10-11\tests\PHP2WSDL\Tests\PHP2WSDLTest.php on line 8

Looks like some dependencies are missing?

  2. Re: Example does not work out of the box   Reply   Report abuse  
Picture of Vladimir Vladimir - 2013-12-11 16:50:15 - In reply to message 1 from Vladimir
I see now that you need to run the example with PHPUnit.

  3. Re: Example does not work out of the box   Reply   Report abuse  
Picture of Protung Dragos Protung Dragos - 2013-12-11 18:31:03 - In reply to message 2 from Vladimir
That is correct.
Of course, PHPUnit is not required to actually use the package.