fix tests
This commit is contained in:
parent
b0eacb2a79
commit
8d22ca66ba
@ -61,6 +61,8 @@ describe('prepare-context', function() {
|
|||||||
}
|
}
|
||||||
res.locals.user = 'localhost';
|
res.locals.user = 'localhost';
|
||||||
|
|
||||||
|
res.set = function () {};
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user