Programming Language PHP
Namespace Elabftw\Services
Class Check
Method/Function sort
Total Examples 1
1 code examples of PHP Elabftw\Services\Check::sort extracted from open source projects
public function testSort(): void
{
$this->assertEquals('asc', Check::sort('asc'));
$this->assertEquals('desc', Check::sort('desc'));
$this->expectException(ImproperActionException::class);
Check::sort('blah');
}