Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -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 | } | ... | ... |