authelia/test/unit/server/mocks/AccessController.ts

13 lines
231 B
TypeScript
Raw Normal View History

2017-05-21 03:55:37 +07:00
import sinon = require("sinon");
2017-05-21 17:14:59 +07:00
export interface AccessControllerMock {
isDomainAllowedForUser: sinon.SinonStub;
}
export function AccessControllerMock() {
2017-05-21 03:55:37 +07:00
return {
isDomainAllowedForUser: sinon.stub()
};
2017-05-21 17:14:59 +07:00
}