Skip to content

Commit

Permalink
Merge pull request m1#21 from peter279k/test_enhancement
Browse files Browse the repository at this point in the history
Test enhancement
  • Loading branch information
m1 authored Feb 16, 2019
2 parents f496b40 + 4005354 commit e64beb6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm

# This triggers builds to run on the new TravisCI infrastructure.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
}
],
"require": {
"php" : ">=5.3.0",
"php" : ">=5.4.0",
"symfony/filesystem": "^2.8 | ^3.0"
},
"require-dev": {
"phpunit/phpunit" : "4.*",
"phpunit/phpunit" : "^4.8.36 || ^5.7 || ^6.5",
"scrutinizer/ocular": "~1.1",
"squizlabs/php_codesniffer": "^2.3",
"symfony/yaml": "~2.8",
Expand Down
5 changes: 3 additions & 2 deletions tests/VarsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace M1\Vars\Test;

use M1\Vars\Vars;
use PHPUnit\Framework\TestCase;

class VarsTest extends \PHPUnit_Framework_TestCase
class VarsTest extends TestCase
{
public function setUp()
{
Expand Down Expand Up @@ -475,7 +476,7 @@ public function testEmptyFolderImport()
)
);

$this->assertEquals([], $vars->getContent());
$this->assertEquals(array(), $vars->getContent());
}

public function testCustomLoaderString()
Expand Down

0 comments on commit e64beb6

Please sign in to comment.