From 37518bfaa2695f2919d48f2ddcbf2ac81633d640 Mon Sep 17 00:00:00 2001 From: GoneTone Date: Sun, 5 Jun 2022 14:05:47 +0800 Subject: [PATCH] Update test Material --- __tests__/entryPageList/Material.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/__tests__/entryPageList/Material.test.ts b/__tests__/entryPageList/Material.test.ts index 62f058f..5fdf09d 100644 --- a/__tests__/entryPageList/Material.test.ts +++ b/__tests__/entryPageList/Material.test.ts @@ -33,9 +33,9 @@ import { Material, MaterialFilters } from '../../src' describe('Material', () => { describe('Material List', () => { - test('Get material entry page data list, apply "Food, Talent Level-Up Material" filters, "length > 0" return "true"', async () => { + test('Get material entry page data list, apply "Potion" filters, "length > 0" return "true"', async () => { const material = new Material() - const result = await material.getList(MaterialFilters.Type.Food, MaterialFilters.Type.TalentLevelUpMaterial) + const result = await material.getList(MaterialFilters.Type.Potion) expect(result.length > 0).toBe(true) }) @@ -63,9 +63,9 @@ describe('Material', () => { expect(result > 0).toBe(true) }) - test('Get material entry page data total, apply "Food, Talent Level-Up Material" filters, "result > 0" return "true"', async () => { + test('Get material entry page data total, apply "Potion" filters, "result > 0" return "true"', async () => { const material = new Material() - const result = await material.getTotal(MaterialFilters.Type.Food, MaterialFilters.Type.TalentLevelUpMaterial) + const result = await material.getTotal(MaterialFilters.Type.Potion) expect(result > 0).toBe(true) })