Skip to content

Commit 3a9161c

Browse files
ACPT-1666
Fixing failued web-api tests
1 parent a483401 commit 3a9161c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Model/AbstractModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ protected function _getResource()
482482
new \Magento\Framework\Phrase('The resource isn\'t set.')
483483
);
484484
}
485-
return $this->_resource ?: \Magento\Framework\App\ObjectManager::getInstance()->create ($this->_resourceName);
485+
return $this->_resource ?: \Magento\Framework\App\ObjectManager::getInstance()->get($this->_resourceName);
486486
}
487487

488488
/**

0 commit comments

Comments
 (0)