|
@@ -28,7 +28,7 @@ |
|
|
block discarded – undo |
|
28
|
28
|
'Api Role model has not been defined. Check fixture yml.'); |
|
29
|
29
|
$roleModel = Mage::getModel($this->_data['fixture']['api_role']['model']); |
|
30
|
30
|
$roleBuilderData['fixture'] = $this->_data['fixture']['api_role']; |
|
31
|
|
- $role = new ApiRole($roleBuilderData, $roleModel, $this->_getHook()); |
|
|
31
|
+ $role = new ApiRole($roleBuilderData, $roleModel, $this->_getHook()); |
|
32
|
32
|
$roleId = $role->build(); |
|
33
|
33
|
|
|
34
|
34
|
$fixtureId = ApiUserHelper::create($this->_getMageModel(), $roleId, $this->_data['fixture']['attributes']); |
Please login to merge, or discard this patch.