mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
TESTS: Integration tests for login_required
This commit is contained in:
parent
e63cdc50bb
commit
adea5b36a0
4 changed files with 27 additions and 10 deletions
|
@ -46,6 +46,10 @@ export default function() {
|
|||
this.post('/users', function() {
|
||||
return response({success: true});
|
||||
});
|
||||
|
||||
this.get('/login.html', function() {
|
||||
return [200, {}, 'LOGIN PAGE'];
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue