Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
48 | public function testAskGraphSpecified() |
||
49 | { |
||
50 | // test data |
||
51 | $this->subjectUnderTest->query('INSERT INTO <http://example.com/> { |
||
52 | <http://s> <http://p1> "baz" . |
||
53 | }'); |
||
54 | |||
55 | $res = $this->subjectUnderTest->query('ASK FROM <http://example.com/> {<http://s> <http://p1> ?o.}'); |
||
56 | $this->assertEquals( |
||
57 | [ |
||
58 | 'query_type' => 'ask', |
||
59 | 'result' => true, |
||
60 | ], |
||
61 | $res |
||
62 | ); |
||
65 |