This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/log_db/test.php

21 lines
532 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
namespace Shimmie2;
class LogDatabaseTest extends ShimmiePHPUnitTestCase
{
public function testLog()
{
$this->log_in_as_admin();
$this->get_page("log/view");
2023-11-11 21:49:12 +00:00
$this->get_page("log/view", ["r_module" => "core-image"]);
$this->get_page("log/view", ["r_time" => "2012-03-01"]);
$this->get_page("log/view", ["r_user" => "demo"]);
2020-01-29 20:22:50 +00:00
2023-11-11 21:49:12 +00:00
$page = $this->get_page("log/view", ["r_priority" => "10"]);
2020-01-29 20:22:50 +00:00
$this->assertEquals(200, $page->code);
}
2009-12-30 07:59:40 +00:00
}