blob: 216a925ad50f38ef3be80881e905e5baa7abee6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
namespace Tests\Icinga\Module\Director\Application;
use Icinga\Data\Filter\Filter;
use Icinga\Module\Director\Test\BaseTestCase;
class FiltersWorkAsExpectedTest extends BaseTestCase
{
public function testBasics()
{
$filter = Filter::fromQueryString('a');
$this->assertTrue($filter->matches((object) ['a' => '1']), '1 is not true');
}
}
|