mirror of
https://github.com/getgrav/grav.git
synced 2026-01-18 05:22:59 +01:00
26 lines
386 B
PHP
26 lines
386 B
PHP
<?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'));
|
|
}
|
|
|
|
} |