From d32274596ed9b4ca444dfe844b0b887d6a2fc33c Mon Sep 17 00:00:00 2001 From: GoldenGnu Date: Sun, 27 Oct 2024 15:06:39 +0100 Subject: [PATCH] Code: Fixed tests --- .../net/nikr/eve/jeveasset/io/shared/DataConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/net/nikr/eve/jeveasset/io/shared/DataConverterTest.java b/src/test/java/net/nikr/eve/jeveasset/io/shared/DataConverterTest.java index f3c6ca6d0..40f89a490 100644 --- a/src/test/java/net/nikr/eve/jeveasset/io/shared/DataConverterTest.java +++ b/src/test/java/net/nikr/eve/jeveasset/io/shared/DataConverterTest.java @@ -70,7 +70,7 @@ public void testAssetIndustryJob() { industryJob.setStationID(options.getLocationTypeEveApi()); industryJob.setCompletedDate(new Date(date.getTime() + 1L)); List assets = DataConverter.assetIndustryJob(Collections.singletonList(industryJob), true, true); - if (options.getIndustryJobStatusRaw() == IndustryJobStatus.ARCHIVED) { + if (industryJob.isDone()) { assertTrue(assets.isEmpty()); continue; }