First sample test, test Utils

This commit is contained in:
Flavio Copes
2016-01-05 11:52:17 +01:00
parent a6b1c6b222
commit 5b8b8e4ebb

26
tests/unit/UtilsTest.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
use Grav\Common\Utils;
class UtilsTest extends \Codeception\TestCase\Test
{
/**
* @var \UnitTester
*/
protected $tester;
protected function _before()
{
}
protected function _after()
{
}
// tests
public function testValidation()
{
$this->assertTrue(Utils::startsWith('english', 'en'));
}
}