Skip to content

Commit

Permalink
fix: test was wrong, lol
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjarosch committed Mar 7, 2024
1 parent e9bcc95 commit 629cf14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions reference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,11 @@ func TestValueManager_ReplaceReferences_Inventory(t *testing.T) {
assert.NoError(t, err)
err = targetScope.RegisterClass(testTarget)
assert.NoError(t, err)
err = inventory.RegisterScope(TargetsScope, targetScope)
assert.NoError(t, err)

expected["data.test.casual"] = data.NewValue("Hey, John")
expected["data.test.formal"] = data.NewValue("Hello, John Doe")
expected["targets.test.casual"] = data.NewValue("Hey, John")
expected["targets.test.formal"] = data.NewValue("Hello, John Doe")

err = manager.ReplaceReferences()
assert.NoError(t, err)
Expand Down

0 comments on commit 629cf14

Please sign in to comment.