Skip to content

Commit

Permalink
Merge branch 'feature/SMHE-2011_firmware-s3-bucket' of github.com:OSG…
Browse files Browse the repository at this point in the history
…P/open-smart-grid-platform into feature/SMHE-2011_firmware-s3-bucket
  • Loading branch information
jboon committed May 27, 2024
2 parents e1c7fa4 + f03c756 commit eb33335
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ void updateFirmwareWhenFirmwareFileNotInCacheAndNotValid() throws OsgpException
void updateFirmwareWhenFirmwareFileNotInCacheAndNotOnStore() throws OsgpException {

final byte[] firmwareFile = firmwareIdentification.getBytes();
final HashTypeDto sha256 = HashTypeDto.SHA256;

when(this.firmwareFileCachingRepository.isAvailable(firmwareIdentification)).thenReturn(false);
when(this.firmwareFileStoreService.readFirmwareFile(firmwareIdentification)).thenReturn(null);
Expand All @@ -244,7 +243,6 @@ void updateFirmwareWhenFirmwareFileNotInCacheAndNotOnStore() throws OsgpExceptio
void updateFirmwareWhenStoreThrowsException() throws OsgpException {

final byte[] firmwareFile = firmwareIdentification.getBytes();
final HashTypeDto sha256 = HashTypeDto.SHA256;
final String storeExceptionMessage = "firmware file store failed!";

when(this.firmwareFileCachingRepository.isAvailable(firmwareIdentification)).thenReturn(false);
Expand Down

0 comments on commit eb33335

Please sign in to comment.