remove unnecesary
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2022-10-26 13:33:02 +02:00
parent cf24301bfe
commit a9a20758bd
3 changed files with 0 additions and 26 deletions

View File

@ -1,26 +1,6 @@
const models = require('vn-loopback/server/server').models;
const LoopBackContext = require('loopback-context');
describe('loopback model Account', () => {
const userId = 1105;
const activeCtx = {
accessToken: {userId: userId},
http: {
req: {
headers: {origin: 'http://localhost'},
[`__`]: value => {
return value;
}
}
}
};
beforeEach(() => {
spyOn(LoopBackContext, 'getCurrentContext').and.returnValue({
active: activeCtx
});
});
it('should return true if the user has the given role', async() => {
let result = await models.Account.hasRole(1, 'employee');

View File

@ -1,3 +0,0 @@
<p>
Click <a href="<%=verifyHref%>">here</a> to confirm your email address.
</p>

View File

@ -1,3 +0,0 @@
<p>
Click <a href="<%=verifyHref%>">here</a> to confirm your email address.
</p>