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/eokm/test.php

19 lines
460 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
2020-08-23 14:40:58 +00:00
namespace Shimmie2;
2020-08-23 14:40:58 +00:00
class EokmTest extends ShimmiePHPUnitTestCase
{
2024-01-15 14:31:51 +00:00
public function testPass(): void
2020-08-23 14:40:58 +00:00
{
// no EOKM login details set, so be a no-op
$this->log_in_as_user();
$this->post_image("tests/pbx_screenshot.jpg", "pbx computer screenshot");
$this->assert_no_text("Image too large");
$this->assert_no_text("Image too small");
$this->assert_no_text("ratio");
}
}