Skip to content

Commit

Permalink
Updated to PHPUnit 6 and Mockery 1
Browse files Browse the repository at this point in the history
  • Loading branch information
carusogabriel committed Nov 2, 2017
1 parent c742ada commit 4b4f7c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,7 +1,6 @@
language: php

php:
- 5.6
- 7.0
- 7.1

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": ">=5.6.4",
"php": ">=7.0",
"illuminate/bus": "~5.4",
"illuminate/contracts": "~5.4",
"illuminate/database": "~5.4",
Expand All @@ -24,8 +24,8 @@
},
"require-dev": {
"algolia/algoliasearch-client-php": "^1.10",
"mockery/mockery": "~0.9",
"phpunit/phpunit": "~5.0"
"mockery/mockery": "~1.0",
"phpunit/phpunit": "~6.0"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml.dist
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
Expand Down
4 changes: 2 additions & 2 deletions tests/AbstractTestCase.php
Expand Up @@ -3,9 +3,9 @@
namespace Tests;

use Mockery;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

abstract class AbstractTestCase extends PHPUnit_Framework_TestCase
abstract class AbstractTestCase extends TestCase
{
public function tearDown()
{
Expand Down

0 comments on commit 4b4f7c2

Please sign in to comment.