Skip to content

Commit

Permalink
#7 fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-dammeier committed Jan 3, 2024
1 parent f02cda3 commit a9af1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/application/stateDiffUseCase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func TestStateDiffUseCase_DetermineStateDiff(t *testing.T) {
})
t.Run("should fail to update blueprint", func(t *testing.T) {
// given
blueprint := &domain.BlueprintSpec{Id: "testBlueprint1", Status: domain.StatusPhaseEffectiveBlueprintGenerated}
blueprint := &domain.BlueprintSpec{Id: "testBlueprint1", Status: domain.StatusPhaseValidated}

blueprintRepoMock := newMockBlueprintSpecRepository(t)
blueprintRepoMock.EXPECT().GetById(testCtx, "testBlueprint1").Return(blueprint, nil)
Expand Down Expand Up @@ -118,7 +118,7 @@ func TestStateDiffUseCase_DetermineStateDiff(t *testing.T) {
},
},
},
Status: domain.StatusPhaseEffectiveBlueprintGenerated,
Status: domain.StatusPhaseValidated,
}

blueprintRepoMock := newMockBlueprintSpecRepository(t)
Expand Down

0 comments on commit a9af1ca

Please sign in to comment.