protected function setUp() { parent::setUp(); $this->object = $this->bb->tournament(); $this->object->title = 'PHP API library map_pool Unit Test'; $this->object->game_code = 'HotS'; }
protected function setUp() { $this->object =& $this->tournament; parent::setUp(); }
/** * By default, make sure we have a "new" unsaved tournament to play with */ protected function setUp() { $this->get_tournament_inactive(); $this->object = $this->tournament->team(); parent::setUp(); }
/** * Re-instantiate $bb as a normal instance without the custom $config */ public static function tearDownAfterClass() { parent::tearDownAfterClass(); self::$bb_static = new BinaryBeast(); self::$bb_static->disable_ssl_verification(); }
function __construct($name = NULL, array $data = array(), $dataName = '') { parent::__construct($name, $data, $dataName); $this->object =& $this->bb; }
/** * Runs before each test - grab a tournament with some open untouched matches, and * save one of them to our local $object property */ protected function setUp() { $this->set_object(); parent::setUp(); }