예제 #1
0
 public function testRequireApproval()
 {
     $this->insertRecords->requireApproval();
     $this->assertEquals('true', $this->request->getParam('isApproval'));
 }
예제 #2
0
 public function testId()
 {
     $this->getRecordById->id('abc123');
     $this->assertEquals('abc123', $this->request->getParam('id'));
 }
예제 #3
0
 public function testSince()
 {
     $this->getRecords->since(new \DateTime('16-05-1986 13:37:59'));
     $this->assertEquals('1986-05-16 13:37:59', $this->request->getParam('lastModifiedTime'));
 }