public function alter($class, $attribute, $value) { $commandClass = $this->getCommandClass('class.alter'); $this->command = new $commandClass($class, $attribute, $value); return $this->command; }
/** * @depends testClassCreate */ public function testAlterClass($class) { $query = new Query(); $query->alter($class, 'SUPERCLASS', 'OUser'); $this->assertHttpStatus(204, $this->doQuery($query)); return $class; }