From d6404b6a81d8d64dac1aafcde6b7f8d80fcc9f61 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 3 May 2021 09:19:07 -0500 Subject: fix tests --- test-data-generator/index.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'test-data-generator/index.ts') diff --git a/test-data-generator/index.ts b/test-data-generator/index.ts index 45a5991..408f76a 100644 --- a/test-data-generator/index.ts +++ b/test-data-generator/index.ts @@ -12,10 +12,10 @@ import path from 'path' const playerUuids = [ - '6536bfed869548fd83a1ecd24cf2a0fd', - '4133cab5a7534f3f9bb636fc06a1f0fd', - 'ef3bb867eec048a1a9b92b451f0ffc66', - 'e403573808ad45ddb5c48ec7c4db0144', + '6536bfed869548fd83a1ecd24cf2a0fd', // py5 + '4133cab5a7534f3f9bb636fc06a1f0fd', // LostEJ + 'ef3bb867eec048a1a9b92b451f0ffc66', // NMART + 'e403573808ad45ddb5c48ec7c4db0144', // Dededecent ] async function writeTestData(requestPath: string, name: string, contents: any) { @@ -40,6 +40,8 @@ async function addConstants() { const constantData = await constants.fetchJSONConstant(constantName + '.json') await writeTestData('constants', constantName, constantData) } + const constantValues = await constants.fetchConstantValues() + await writeTestData('constants', 'values', constantValues) } async function main() { @@ -52,6 +54,7 @@ async function main() { } await writeTestData('', 'mojang', uuidsToUsername) + await addConstants() } -- cgit