Skip to content

Commit 1159e4b

Browse files
author
Thomas Tischner
committed
Allow empty passwords
1 parent 69a8d7f commit 1159e4b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/unit/puppet/type/mysql_user_spec.rb

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
user[:password_hash] = 'foo'
4444
expect(user[:password_hash]).to eq('foo')
4545
end
46+
47+
it 'accepts an empty password' do
48+
user[:password_hash] = ''
49+
expect(user[:password_hash]).to eq('')
50+
end
4651
end
4752

4853
context 'using foo@LocalHost' do

0 commit comments

Comments
 (0)