2022-02-21 07:19:07 +03:00
|
|
|
const TestAgent = require('./test-agent');
|
2022-02-21 07:04:47 +03:00
|
|
|
|
|
|
|
/**
|
2022-02-21 07:19:07 +03:00
|
|
|
* NOTE: this class is not doing much at the moment. It's rather a placeholder to put
|
|
|
|
* any Members API specific functionality into. If there is none in the nearest
|
|
|
|
* future, it would make sense to remove it alltogether.
|
2022-02-21 07:04:47 +03:00
|
|
|
* @constructor
|
|
|
|
* @param {Object} app Ghost express app instance
|
|
|
|
* @param {Object} options
|
|
|
|
* @param {String} options.apiURL
|
|
|
|
* @param {String} options.originURL
|
|
|
|
*/
|
2022-02-21 07:19:07 +03:00
|
|
|
class MembersAPITestAgent extends TestAgent {
|
2022-02-21 07:04:47 +03:00
|
|
|
constructor(app, options) {
|
2022-02-21 07:19:07 +03:00
|
|
|
super(app, options);
|
2022-02-21 07:04:47 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = MembersAPITestAgent;
|