From 860092acfacf6963c7012b204982c4be84d20ae6 Mon Sep 17 00:00:00 2001 From: liao Date: Tue, 7 Nov 2023 10:26:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=97=A0=E6=B3=95=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standard/enterprise/LawsEnterpriseStandardTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/laws-single-startup/src/test/java/com/jero/modules/standard/enterprise/LawsEnterpriseStandardTest.java b/laws-single-startup/src/test/java/com/jero/modules/standard/enterprise/LawsEnterpriseStandardTest.java index 47532192..e61b8b0e 100644 --- a/laws-single-startup/src/test/java/com/jero/modules/standard/enterprise/LawsEnterpriseStandardTest.java +++ b/laws-single-startup/src/test/java/com/jero/modules/standard/enterprise/LawsEnterpriseStandardTest.java @@ -41,7 +41,7 @@ public class LawsEnterpriseStandardTest { public static LawsEnterpriseStandard generateRandomEnterpriseStandard() { LawsEnterpriseStandard lawsEnterpriseStandard = new LawsEnterpriseStandard(); - lawsEnterpriseStandard.setDelFlag(faker.bool().bool() ? 1 : 0); + //lawsEnterpriseStandard.setDelFlag(faker.bool().bool() ? 1 : 0); lawsEnterpriseStandard.setStandardCode(faker.code().ean13()); lawsEnterpriseStandard.setNameCode(faker.code().asin()); lawsEnterpriseStandard.setCategoryCode(faker.commerce().department()); @@ -49,7 +49,7 @@ public class LawsEnterpriseStandardTest { lawsEnterpriseStandard.setStandardCategory(faker.commerce().department()); lawsEnterpriseStandard.setGradeClassification(faker.book().genre()); lawsEnterpriseStandard.setCompIllustration(faker.lorem().sentence()); - lawsEnterpriseStandard.setTryFlag(faker.bool().bool() ? 1 : 0); + //lawsEnterpriseStandard.setTryFlag(faker.bool().bool() ? 1 : 0); lawsEnterpriseStandard.setTrialPeriod(String.valueOf(faker.number().numberBetween(1, 12)) + " months"); lawsEnterpriseStandard.setMainDraftingUser(faker.name().fullName()); lawsEnterpriseStandard.setMainDraftingUnit(faker.company().name()); @@ -64,7 +64,7 @@ public class LawsEnterpriseStandardTest { lawsEnterpriseStandard.setEnglishName(faker.commerce().productName()); lawsEnterpriseStandard.setReleaseDate(faker.date().past(1, TimeUnit.SECONDS)); lawsEnterpriseStandard.setImplementationDate(faker.date().past(1, TimeUnit.SECONDS)); - lawsEnterpriseStandard.setStandardState(faker.random().nextInt(5) + ""); + //lawsEnterpriseStandard.setStandardState(faker.random().nextInt(5)); return lawsEnterpriseStandard; } @@ -72,7 +72,7 @@ public class LawsEnterpriseStandardTest { public static EnterpriseStandardPlan generateRandomEnterpriseStandardPlan() { EnterpriseStandardPlan enterpriseStandardPlan = new EnterpriseStandardPlan(); - enterpriseStandardPlan.setDelFlag(faker.bool().bool() ? 1 : 0); + //enterpriseStandardPlan.setDelFlag(faker.bool().bool() ? 1 : 0); enterpriseStandardPlan.setMainDraftingUser(faker.name().fullName()); enterpriseStandardPlan.setMainDraftingUnit(faker.company().name()); enterpriseStandardPlan.setMainDraftingUnitResponsiblePerson(faker.name().fullName());