mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-05-18 11:43:33 +02:00
Run vendor phpunit
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
||||
sudo: false
|
||||
language: php
|
||||
php:
|
||||
- 5.6
|
||||
- 7.2
|
||||
|
||||
notifications:
|
||||
@@ -10,6 +9,6 @@ notifications:
|
||||
install:
|
||||
- composer install --dev --no-interaction
|
||||
script:
|
||||
- phpunit --configuration Tests/phpunit.xml
|
||||
- ./vendor/bin/phpunit --configuration Tests/phpunit.xml
|
||||
after_script:
|
||||
- ./.codeclimate.sh
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use xPaw\SourceQuery\BaseSocket;
|
||||
use xPaw\SourceQuery\Exception\InvalidPacketException;
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
@@ -61,7 +62,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
class SourceQueryTests extends PHPUnit_Framework_TestCase
|
||||
class SourceQueryTests extends TestCase
|
||||
{
|
||||
private $Socket;
|
||||
private $SourceQuery;
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"require-dev":
|
||||
{
|
||||
"phpunit/phpunit": "4.8.*",
|
||||
"phpunit/phpunit": "^6.0",
|
||||
"codeclimate/php-test-reporter": "dev-master"
|
||||
},
|
||||
"autoload":
|
||||
|
||||
Reference in New Issue
Block a user