mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 07:26:22 +02:00
Corrected tests
This commit is contained in:
parent
03f2ab0463
commit
5cf18bd9e5
3 changed files with 11 additions and 5 deletions
|
@ -32,7 +32,10 @@ class Eeid::IdentificationRequestsWebhookTest < ActionDispatch::IntegrationTest
|
|||
assert_equal({ 'status' => 'success' }, JSON.parse(response.body))
|
||||
assert_not_nil @contact.reload.verified_at
|
||||
assert_equal @contact.verification_id, '123'
|
||||
assert_notify_registrar('Successful Contact Verification')
|
||||
assert_notify_registrar(
|
||||
"Teade: Kontakti [#{@contact.code}] kinnitamine edukalt lõpule viidud " \
|
||||
"/ Notification: Contact [#{@contact.code}] verification successfully completed"
|
||||
)
|
||||
end
|
||||
|
||||
test 'should return unauthorized for invalid HMAC signature' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue