Typesetter/phpunit/Admin/StatusTest.php

21 lines
371 B
PHP
Raw Normal View History

2021-09-08 19:52:21 +02:00
<?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'));
}
}