remove membership from user
This commit is contained in:
committed by
Jackson Harper
parent
ea9d98aa95
commit
bab96aaa1e
@ -169,9 +169,9 @@ describe('auth router', () => {
|
||||
password = correctPassword
|
||||
})
|
||||
|
||||
it('redirects to waitlist page', async () => {
|
||||
it('redirects to home page', async () => {
|
||||
const res = await loginRequest(email, password).expect(302)
|
||||
expect(res.header.location).to.endWith('/waitlist')
|
||||
expect(res.header.location).to.endWith('/home')
|
||||
})
|
||||
|
||||
it('set auth token in cookie', async () => {
|
||||
|
||||
@ -42,7 +42,7 @@ describe('create user', () => {
|
||||
expect(await getUserFollowing(user)).to.eql([adminUser])
|
||||
expect(await getUserFollowers(adminUser)).to.eql([user])
|
||||
expect(await getUserFollowing(adminUser)).to.eql([user])
|
||||
}).timeout(10000)
|
||||
})
|
||||
|
||||
it('creates profile when user exists but profile not', async () => {
|
||||
after(async () => {
|
||||
|
||||
Reference in New Issue
Block a user