/** * Test re-opening brackets to confirmation */ public function test_reopen_brackets_to_groups() { $this->get_tournament_with_open_matches(true); $this->assertEquals('Active-Groups', $this->object->status, 'object created from get_active is not Active'); $this->assertTrue($this->object->start()); $this->assertEquals('Active-Brackets', $this->object->status); $this->assertTrue($this->object->reopen()); $this->assertEquals('Active-Groups', $this->object->status); }