mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Replace some hardcoded schema paths for method calls
This commit is contained in:
parent
a0d0ce3e00
commit
00a0be2341
59 changed files with 481 additions and 480 deletions
|
@ -16,7 +16,7 @@ class AdminEppLogsIntegrationTest < ApplicationSystemTestCase
|
|||
visit admin_epp_logs_path
|
||||
send_epp_request_hello
|
||||
visit admin_epp_logs_path
|
||||
|
||||
|
||||
find(:xpath, "//tbody/tr/td/a", match: :first).click
|
||||
assert_text 'Details'
|
||||
end
|
||||
|
@ -34,14 +34,14 @@ class AdminEppLogsIntegrationTest < ApplicationSystemTestCase
|
|||
date_now = Date.today.to_s(:db)
|
||||
|
||||
assert_match /#{date_now}/, epp_log_date
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def send_epp_request_hello
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<hello/>
|
||||
</epp>
|
||||
XML
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue