Skip to content

Commit

Permalink
Merge pull request #23212 from kbrock/fix_auth
Browse files Browse the repository at this point in the history
simplify fix_auth tests
  • Loading branch information
Fryguy authored Sep 30, 2024
2 parents 4e9403a + d2c808f commit d9352e8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spec/tools/fix_auth/auth_model_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@
expect { subject.fix_passwords(bad, options) }.to raise_error(ManageIQ::Password::PasswordError)
end

it "should replace for bad encryption" do
subject.fix_passwords(bad, options.merge(:invalid => "other"))
expect(bad.password).to be_encrypted("other")
end

context "with the rare case where recryption succeeds but returns garbage" do
# NOTE: This legacy key only returns garbage specifically with the
# built-in v2_key.dev and the plaintext string "password", which is
Expand Down

0 comments on commit d9352e8

Please sign in to comment.