Skip to content

Commit

Permalink
Fix mixup #293
Browse files Browse the repository at this point in the history
I wanted to revert my temporary changes to test data and
accidentally reverted the adjusted test for the previous
commit. This commit resolves that mixup.
  • Loading branch information
oneiros committed Feb 16, 2024
1 parent d39f63f commit 048e208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/files/puppet/environments/eyaml/hiera.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 5
defaults:
datadir: data
lookup_key: custom_eyaml_function
lookup_key: eyaml_lookup_key
options:
pkcs7_private_key: keys/private_key.pkcs7.pem
pkcs7_public_key: keys/public_key.pkcs7.pem
Expand Down
2 changes: 1 addition & 1 deletion test/models/hiera_data/hierarchy_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class HierarchyForCustomBackend < ActiveSupport::TestCase

test "custom lookup function mapped to eyaml" do
Rails.configuration.hdm[:custom_lookup_function_mapping] = {
"custom_eyaml_function" => "eyaml"
custom_eyaml_function: "eyaml"
}
hierarchy = HieraData::Hierarchy.new(raw_hash:, base_path: ".")
assert_equal :eyaml, hierarchy.backend
Expand Down

0 comments on commit 048e208

Please sign in to comment.