Skip to content

Commit

Permalink
Test enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Dec 31, 2019
1 parent a6b4b8a commit 7bcbb16
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ branches:
matrix:
fast_finish: true
include:
- php: 7.3
- php: 7.2
- php: 7.1
- php: 7.0
- php: 5.6
- php: 5.5
- php: hhvm
sudo: required
dist: trusty
group: edge

before_install:
- if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then echo 'xdebug.enable = on' >> /etc/hhvm/php.ini; fi
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"gpslab/cqrs": "~1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8",
"phpunit/phpunit": "^4.8.36",
"scrutinizer/ocular": "~1.3",
"satooshi/php-coveralls": "^1.0"
"php-coveralls/php-coveralls": "^1.0"
}
}
3 changes: 2 additions & 1 deletion tests/ObviousSpecificationQueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
namespace GpsLab\Component\Query\Specification;

use Happyr\DoctrineSpecification\Spec;
use PHPUnit\Framework\TestCase;

class ObviousSpecificationQueryTest extends \PHPUnit_Framework_TestCase
class ObviousSpecificationQueryTest extends TestCase
{
public function testHasModifier()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/SpecificationQueryHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
use Doctrine\ORM\EntityManagerInterface;
use Happyr\DoctrineSpecification\EntitySpecificationRepositoryInterface;
use Happyr\DoctrineSpecification\Spec;
use PHPUnit\Framework\TestCase;

class SpecificationQueryHandlerTest extends \PHPUnit_Framework_TestCase
class SpecificationQueryHandlerTest extends TestCase
{
/**
* @var \PHPUnit_Framework_MockObject_MockObject|EntityManagerInterface
Expand Down

0 comments on commit 7bcbb16

Please sign in to comment.