コード例 #1
0
ファイル: FixtureTest.php プロジェクト: baphled/boodah
 /**
  * Now we want to make sure that we only increment id's that are null
  * 
  */
 function testRetrieveTestDataIncrementsFromTheLastInputtedID()
 {
     $this->_testFix->autoGen(20);
     $data = $this->_testFix->retrieveResults();
     for ($i = 0; $i < $this->_testFix->count(); $i++) {
         $this->assertEquals($i + 1, $data[$i]['id']);
     }
 }