mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
fixed tests
This commit is contained in:
parent
0ba69ea848
commit
072f4440e2
7 changed files with 81 additions and 306 deletions
|
@ -40,7 +40,7 @@ class ReppV1CertificatesCreateTest < ActionDispatch::IntegrationTest
|
|||
json = JSON.parse(response.body, symbolize_names: true)
|
||||
|
||||
assert_response :bad_request
|
||||
assert json[:message].include? 'Invalid CSR or CRT'
|
||||
assert json[:message].include? I18n.t(:crt_or_csr_must_be_present)
|
||||
end
|
||||
|
||||
def test_returns_error_response_if_throttled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue