ci: Add test support for external database adapter (#8883)
This commit is contained in:
9
spec/support/MockDatabaseAdapter.js
Normal file
9
spec/support/MockDatabaseAdapter.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = function (options) {
|
||||
return {
|
||||
options: options,
|
||||
send: function () {},
|
||||
getDatabaseURI: function () {
|
||||
return options.databaseURI;
|
||||
},
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user