@@ -329,6 +329,24 @@ public function testQueryStatements() {
329329 $ this ->assertInstanceOf ('TinCan\StatementsResult ' , $ response ->content );
330330 }
331331
332+ public function testQueryStatementsWithActivityId () {
333+ $ lrs = new RemoteLRS (self ::$ endpoint , self ::$ version , self ::$ username , self ::$ password );
334+ $ response = $ lrs ->queryStatements (['activity ' => COMMON_ACTIVITY_ID ]);
335+
336+ $ this ->assertInstanceOf ('TinCan\LRSResponse ' , $ response );
337+ $ this ->assertTrue ($ response ->success , 'success ' );
338+ $ this ->assertInstanceOf ('TinCan\StatementsResult ' , $ response ->content );
339+ }
340+
341+ public function testQueryStatementsWithVerbId () {
342+ $ lrs = new RemoteLRS (self ::$ endpoint , self ::$ version , self ::$ username , self ::$ password );
343+ $ response = $ lrs ->queryStatements (['verb ' => COMMON_VERB_ID ]);
344+
345+ $ this ->assertInstanceOf ('TinCan\LRSResponse ' , $ response );
346+ $ this ->assertTrue ($ response ->success , 'success ' );
347+ $ this ->assertInstanceOf ('TinCan\StatementsResult ' , $ response ->content );
348+ }
349+
332350 public function testQueryStatementsWithAttachments () {
333351 $ lrs = new RemoteLRS (self ::$ endpoint , self ::$ version , self ::$ username , self ::$ password );
334352 $ response = $ lrs ->queryStatements (['limit ' => 4 , 'attachments ' => true ]);
0 commit comments