From 74b3b348ff6901e889ef88fd7531d6800d12ab1a Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Wed, 19 Jun 2024 17:32:31 +0200 Subject: [PATCH] fix buy test --- test/api/v3/integration/user/buy/POST-user_buy.test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/api/v3/integration/user/buy/POST-user_buy.test.js b/test/api/v3/integration/user/buy/POST-user_buy.test.js index f91831d37a..7539676c14 100644 --- a/test/api/v3/integration/user/buy/POST-user_buy.test.js +++ b/test/api/v3/integration/user/buy/POST-user_buy.test.js @@ -70,7 +70,6 @@ describe('POST /user/buy/:key', () => { it('buys a special spell', async () => { const key = 'spookySparkles'; const item = content.special[key]; - const stub = sinon.stub(item, 'canOwn').returns(true); await user.updateOne({ 'stats.gp': 250 }); const res = await user.post(`/user/buy/${key}`);