mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-24 07:09:12 +01:00
20 lines
371 B
PHP
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'));
|
|
|
|
}
|
|
|
|
}
|