Skip to content

Commit

Permalink
Added test for lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Sep 8, 2023
1 parent 8f98451 commit c0bccd1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ class TemplateViewConfigurationCreationTests: BaseTemplateViewConfigurationTests
switch result {
case let .single(package):
expect(package.content) === TestData.lifetimePackage
expect(package.currentlySubscribed) == false
expect(package.discountRelativeToMostExpensivePerMonth).to(beNil())
Self.verifyLocalizationWasProcessed(package.localization, for: TestData.lifetimePackage)
case .multiple:
fail("Invalid result: \(result)")
Expand Down

0 comments on commit c0bccd1

Please sign in to comment.