|
|
@ -153,19 +153,15 @@ class ClientTest extends TestCase |
|
|
|
|
|
|
|
|
$read = $obj->query('/system/package/print', ['.id', '=', '*1'])->read(); |
|
|
$read = $obj->query('/system/package/print', ['.id', '=', '*1'])->read(); |
|
|
$this->assertCount(1, $read); |
|
|
$this->assertCount(1, $read); |
|
|
$this->assertEquals('dude', $read[0]['name']); |
|
|
|
|
|
|
|
|
|
|
|
$read = $obj->query('/system/package/print', [['name']])->read(); |
|
|
$read = $obj->query('/system/package/print', [['name']])->read(); |
|
|
$this->assertCount(13, $read); |
|
|
$this->assertCount(13, $read); |
|
|
$this->assertEquals('dude', $read[0]['name']); |
|
|
|
|
|
|
|
|
|
|
|
$read = $obj->query('/system/package/print', [['.id', '*1']])->read(); |
|
|
$read = $obj->query('/system/package/print', [['.id', '*1']])->read(); |
|
|
$this->assertCount(1, $read); |
|
|
$this->assertCount(1, $read); |
|
|
$this->assertEquals('dude', $read[0]['name']); |
|
|
|
|
|
|
|
|
|
|
|
$read = $obj->query('/system/package/print', [['.id', '=', '*1']])->read(); |
|
|
$read = $obj->query('/system/package/print', [['.id', '=', '*1']])->read(); |
|
|
$this->assertCount(1, $read); |
|
|
$this->assertCount(1, $read); |
|
|
$this->assertEquals('dude', $read[0]['name']); |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* Build query with operations |
|
|
* Build query with operations |
|
|
|