Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / infrastructure / storage / lisk / __tests__ / LiskIsolationTestDAO.php
blob8008fb8e469d25635f65f5e7424311ffcf080f96
1 <?php
3 final class LiskIsolationTestDAO extends LiskDAO {
5 protected $name;
6 protected $phid;
8 protected function getConfiguration() {
9 return array(
10 self::CONFIG_AUX_PHID => true,
11 ) + parent::getConfiguration();
14 public function generatePHID() {
15 return PhabricatorPHID::generateNewPHID('TISO');
18 protected function establishLiveConnection($mode) {
19 throw new LiskIsolationTestDAOException(
20 pht(
21 'Isolation failure! DAO is attempting to connect to an external '.
22 'resource!'));
25 protected function getDatabaseName() {
26 return 'test';
29 public function getTableName() {
30 return 'test';