diff --git a/Gruntfile.js b/Gruntfile.js index 0a89262..11689a5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -46,6 +46,7 @@ module.exports = function(grunt) { }, options: { + bin : 'vendor/bin/phpunit', configuration : 'phpunit.xml.dist', //group : 'CURLClientTest' } diff --git a/src/test/php/Gomoob/Pushwoosh/Client/CURLClientTest.php b/src/test/php/Gomoob/Pushwoosh/Client/CURLClientTest.php index 17458b0..0c2941d 100644 --- a/src/test/php/Gomoob/Pushwoosh/Client/CURLClientTest.php +++ b/src/test/php/Gomoob/Pushwoosh/Client/CURLClientTest.php @@ -8,7 +8,7 @@ */ namespace Gomoob\Pushwoosh\Client; -use Gomoob\Pushwoosh\Exception\PushwooshException; +use PHPUnit\Framework\TestCase; /** * Test case used to test the Pushwoosh class. @@ -16,7 +16,7 @@ * @author Baptiste GAILLARD (baptiste.gaillard@gomoob.com) * @group CURLClientTest */ -class CURLClientTest extends \PHPUnit_Framework_TestCase +class CURLClientTest extends TestCase { /** * Test method for the `pushwooshCall($method, arra $data)` function.