Skip to content

Commit

Permalink
Merge branch 'story/1532/remove-hapi-hl7-lib' of github.com:CDCgov/tr…
Browse files Browse the repository at this point in the history
…usted-intermediary into story/1532/remove-hapi-hl7-lib
  • Loading branch information
basiliskus committed Dec 17, 2024
2 parents ea1d47f + 8666d1f commit 336a6f1
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion operations/environments/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "4.13.0"
version = "4.14.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion operations/environments/internal/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "4.13.0"
version = "4.14.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion operations/environments/pr/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "4.13.0"
version = "4.14.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion operations/environments/prd/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "4.13.0"
version = "4.14.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion operations/environments/stg/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "4.13.0"
version = "4.14.0"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,18 @@ class HL7FileMatcherTest extends Specification {
then:
thrown(HL7FileMatcherException)
}

def "should throw HL7FileMatcherException when unable to load a file to parse and map"() {
def inputStream = Mock(ByteArrayInputStream)
inputStream.readAllBytes() >> {
throw new IOException("")
}
def hl7FileStream = new HL7FileStream("file1", inputStream)

when:
fileMatcher.parseAndMapMessageByControlId([hl7FileStream])

then:
thrown(HL7FileMatcherException)
}
}

0 comments on commit 336a6f1

Please sign in to comment.