difftreelog
tests: move removal from non-WL test to positive
in: master
1 file changed
tests/src/removeFromWhiteList.test.tsdiffbeforeafterboth43 expect(await isWhitelisted(collectionId, bob.address)).to.be.false;43 expect(await isWhitelisted(collectionId, bob.address)).to.be.false;44 });44 });4546 it('allows removal from collection with unset whitelist status', async () => {47 await usingApi(async () => {48 const collectionWithoutWhitelistId = await createCollectionExpectSuccess();49 await enableWhiteListExpectSuccess(alice, collectionWithoutWhitelistId);50 await addToWhiteListExpectSuccess(alice, collectionWithoutWhitelistId, bob.address);51 await disableWhiteListExpectSuccess(alice, collectionWithoutWhitelistId);5253 await removeFromWhiteListExpectSuccess(alice, collectionWithoutWhitelistId, bob.address);54 });55 });45});56});465747describe('Negative Integration Test removeFromWhiteList', () => {58describe('Negative Integration Test removeFromWhiteList', () => {74 });85 });75 });86 });7677 it('fails on removal from collection with unset whitelist status', async () => {78 await usingApi(async () => {79 const collectionId = await createCollectionExpectSuccess();80 await enableWhiteListExpectSuccess(alice, collectionId);81 await addToWhiteListExpectSuccess(alice, collectionId, bob.address);82 await disableWhiteListExpectSuccess(alice, collectionId);8384 await removeFromWhiteListExpectFailure(alice, collectionId, bob.address);85 });86 });87});87});8888