예제 #1
0
 public function testParse()
 {
     $abilities = new Abilities();
     $abilities->parse('6.86');
     $url = $abilities->getImgUrlById(5341);
     $this->assertEquals('http://media.steampowered.com/apps/dota2/images/abilities/doom_bringer_infernal_blade_lg.png', $url);
 }
예제 #2
0
 public function setUp()
 {
     $this->abilities = new Abilities();
     $this->abilities->parse();
 }