Tests fix
This commit is contained in:
parent
e41768f2c8
commit
6f1a5ea54a
@ -673,7 +673,7 @@ public abstract class BaseOtaPackageServiceTest extends AbstractServiceTest {
|
||||
firmwareInfo.setTenantId(tenantId);
|
||||
|
||||
thrown.expect(DataValidationException.class);
|
||||
thrown.expectMessage("The length of title must be equal or shorter than 255");
|
||||
thrown.expectMessage("length of title must be equal or less than 255");
|
||||
|
||||
otaPackageService.saveOtaPackageInfo(firmwareInfo, true);
|
||||
}
|
||||
@ -688,7 +688,7 @@ public abstract class BaseOtaPackageServiceTest extends AbstractServiceTest {
|
||||
firmwareInfo.setTitle(TITLE);
|
||||
|
||||
firmwareInfo.setVersion(RandomStringUtils.random(257));
|
||||
thrown.expectMessage("The length of version must be equal or shorter than 255");
|
||||
thrown.expectMessage("length of version must be equal or less than 255");
|
||||
|
||||
otaPackageService.saveOtaPackageInfo(firmwareInfo, true);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user