fix buy test

This commit is contained in:
Phillip Thelen
2024-06-19 17:32:31 +02:00
parent 3386d61fde
commit 74b3b348ff

View File

@@ -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}`);