mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-22 14:19:14 +01:00
21 lines
371 B
PHP
21 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'));
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|