Skip to content

Commit

Permalink
(#270) Refactored test for 7.0 - passing
Browse files Browse the repository at this point in the history
  • Loading branch information
carbontwelve committed Feb 22, 2018
1 parent 2ccf28b commit 201fb00
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/Unit/TaxonomyTest.php → tests/Unit/TaxonomyNTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

namespace Tapestry\Tests\Unit;

use Tapestry\Tests\CommandTestBase;
use PHPUnit_Framework_Constraint_IsEqual;
use PHPUnit\Framework\Constraint\IsEqual;
use Tapestry\Entities\Taxonomy;
use Tapestry\Tests\TestCase;
use Tapestry\Tests\Traits\MockFile;

class TaxonomyTest extends TestCase
class TaxonomyNTest extends TestCase
{
use MockFile;

Expand Down Expand Up @@ -156,7 +155,7 @@ public function testTaxonomyClassOrder()

private function isOr($test, $checkA, $checkB) {

$constraintA = new PHPUnit_Framework_Constraint_IsEqual(
$constraintA = new IsEqual(
$checkA,
0.0,
10,
Expand All @@ -168,7 +167,7 @@ private function isOr($test, $checkA, $checkB) {
return true;
}

$constraintB = new PHPUnit_Framework_Constraint_IsEqual(
$constraintB = new IsEqual(
$checkB,
0.0,
10,
Expand Down

0 comments on commit 201fb00

Please # to comment.