コード例 #1
0
 public function testDeleteCategory()
 {
     $cat = ItemCategory::FindByName('Test Category 2');
     ItemCategory::Delete($cat->id);
     $cat = ItemCategory::FindObject($cat->id);
     $this->assertTrue($cat == null);
 }