authelia/test/unitary/mocks/AccessController.ts

13 lines
231 B
TypeScript
Raw Normal View History

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