From 7d9ff28b7cf047aa308a7ef08e827ca7bd35c29c Mon Sep 17 00:00:00 2001 From: Baptiste GAILLARD Date: Thu, 7 Jul 2016 07:48:45 +0200 Subject: [PATCH] Try to fix PHPUnit execution on HHVM. --- Gruntfile.js | 1 + src/test/php/Gomoob/Pushwoosh/Client/CURLClientTest.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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.