Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | protected function _buildApiRoleFixture() |
||
40 | { |
||
41 | $roleBuilderData = []; |
||
42 | $roleModel = Mage::getModel($this->_data['fixture']['api_role']['model']); |
||
43 | $roleBuilderData['fixture'] = $this->_data['fixture']['api_role']; |
||
44 | $role = new ApiRole($roleBuilderData, $roleModel, $this->_getHook()); |
||
45 | $roleId = $role->buildAndRegister(); |
||
46 | return $roleId; |
||
47 | } |
||
48 | } |