Example #1
0
 /**
  * Record can't be updated cause its not new
  *
  * @expectedException CDbException
  */
 public function testUpdateException()
 {
     $table = new Table();
     $table->setAttribute('TABLE_NAME', 'test2');
     $table->update();
 }