Skip to content

Commit 1628cba

Browse files
authored
chore: fix test failures (#763)
1 parent 461f4e6 commit 1628cba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/security/request_validator_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@
111111

112112
it 'should validate urls with credentials' do
113113
url_with_creds = 'https://user:pass@mycompany.com/myapp.php?foo=1&bar=2'
114-
signature = 'CukzLTc1tT5dXEDIHm/tKBanW10=' # expected hash of the url
114+
signature = 'ZQFR1PTIZXF2MXB8ZnKCvnnA+rI=' # expected hash of the url
115115
expect(validator.validate(url_with_creds, params, signature)).to eq(true)
116116
end
117117

118118
it 'should validate urls with just username' do
119119
url_with_creds = 'https://user@mycompany.com/myapp.php?foo=1&bar=2'
120-
signature = '2YRLlVAflCqxaNicjMpJcSTgzSs=' # expected hash of the url
120+
signature = 'aZfj4hyX1MLZhSS6QIL18Vn2/RA=' # expected hash of the url
121121
expect(validator.validate(url_with_creds, params, signature)).to eq(true)
122122
end
123123

0 commit comments

Comments
 (0)