Skip to content

Commit

Permalink
Fix SQlite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed May 6, 2019
1 parent a310392 commit cbe4b1d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tests/system/Validation/RulesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
namespace CodeIgniter\Validation;

use Config\Database;
use CodeIgniter\Test\CIDatabaseTestCase;

class RulesTest extends \CIUnitTestCase
class RulesTest extends CIDatabaseTestCase
{
protected $refresh = true;

/**
* @var Validation
*/
Expand Down Expand Up @@ -379,7 +382,7 @@ public function testDiffersFalse()

$this->assertFalse($this->validation->run($data));
}

//--------------------------------------------------------------------

public function testEqualsNull()
Expand All @@ -394,7 +397,7 @@ public function testEqualsNull()

$this->assertFalse($this->validation->run($data));
}

//--------------------------------------------------------------------

public function testEqualsEmptyIsEmpty()
Expand Down Expand Up @@ -454,7 +457,7 @@ public function testEqualsReturnsFalseOnCaseMismatch()

$this->assertFalse($this->validation->run($data));
}

//--------------------------------------------------------------------

public function testNotEqualsNull()
Expand All @@ -469,7 +472,7 @@ public function testNotEqualsNull()

$this->assertTrue($this->validation->run($data));
}

//--------------------------------------------------------------------

public function testNotEqualsEmptyIsEmpty()
Expand Down Expand Up @@ -529,7 +532,6 @@ public function testNotEqualsReturnsTrueOnCaseMismatch()

$this->assertTrue($this->validation->run($data));
}


//--------------------------------------------------------------------

Expand Down

0 comments on commit cbe4b1d

Please sign in to comment.