Commit 6f1a5ea54a353905629d2a5375f0308353e0e87c

Authored by Swoq
1 parent e41768f2

Tests fix

... ... @@ -673,7 +673,7 @@ public abstract class BaseOtaPackageServiceTest extends AbstractServiceTest {
673 673 firmwareInfo.setTenantId(tenantId);
674 674
675 675 thrown.expect(DataValidationException.class);
676   - thrown.expectMessage("The length of title must be equal or shorter than 255");
  676 + thrown.expectMessage("length of title must be equal or less than 255");
677 677
678 678 otaPackageService.saveOtaPackageInfo(firmwareInfo, true);
679 679 }
... ... @@ -688,7 +688,7 @@ public abstract class BaseOtaPackageServiceTest extends AbstractServiceTest {
688 688 firmwareInfo.setTitle(TITLE);
689 689
690 690 firmwareInfo.setVersion(RandomStringUtils.random(257));
691   - thrown.expectMessage("The length of version must be equal or shorter than 255");
  691 + thrown.expectMessage("length of version must be equal or less than 255");
692 692
693 693 otaPackageService.saveOtaPackageInfo(firmwareInfo, true);
694 694 }
... ...