Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/storage/lisk/__tests__/LiskIsolationTestDAO.php
| Show All 16 Lines | final class LiskIsolationTestDAO extends LiskDAO { | ||||
| protected function establishLiveConnection($mode) { | protected function establishLiveConnection($mode) { | ||||
| throw new LiskIsolationTestDAOException( | throw new LiskIsolationTestDAOException( | ||||
| pht( | pht( | ||||
| 'Isolation failure! DAO is attempting to connect to an external '. | 'Isolation failure! DAO is attempting to connect to an external '. | ||||
| 'resource!')); | 'resource!')); | ||||
| } | } | ||||
| protected function getConnectionNamespace() { | protected function getDatabaseName() { | ||||
| return 'test'; | return 'test'; | ||||
| } | } | ||||
| public function getTableName() { | public function getTableName() { | ||||
| return 'test'; | return 'test'; | ||||
| } | } | ||||
| } | } | ||||