Typesetter-Original-gtbu/phpunit/Admin/StatusTest.php
2021-09-08 19:52:21 +02:00

20 lines
371 B
PHP

<?php
class phpunit_StatusTest extends gptest_bootstrap{
/**
* Test the admin/status health check
*
*/
public function testStatus(){
$admin_status = new \gp\admin\Tools\Status();
$admin_status->CheckDataDir();
$this->AssertGreaterThan(0,$admin_status->GetValue('passed_count'));
$this->AssertEquals(0,$admin_status->GetValue('failed_count'));
}
}