test(streams): corrected test for stream grant permissions
This commit is contained in:
@@ -221,8 +221,7 @@ describe( 'Streams', ( ) => {
|
||||
expect( shareRes ).to.have.status( 201 )
|
||||
|
||||
const userBRes = await chai.request( app ).get( `/streams/${privateStream.id}` ).set( 'Authorization', `Bearer ${tokenB}` )
|
||||
// expect( userBRes ).to.have.status( 200 )
|
||||
userBRes.should.have.status( 200 )
|
||||
expect( userBRes ).to.have.status( 200 )
|
||||
expect( userBRes.body ).to.have.property( 'name' )
|
||||
expect( userBRes.body ).to.have.property( 'description' )
|
||||
} )
|
||||
|
||||
Reference in New Issue
Block a user