fixed tests

This commit is contained in:
olegphenomenon 2022-04-01 09:32:06 +03:00
parent fdf70359d1
commit 8812f8da22
20 changed files with 109 additions and 165 deletions

View file

@ -6,7 +6,7 @@ class SendDataToDirectoTest < ActiveSupport::TestCase
end
def test_should_send_data_to_billing_directo
stub_request(:post, "http://eis_billing_system:3000/api/v1/directo/directo").
stub_request(:post, "https://eis_billing_system:3000/api/v1/directo/directo").
to_return(status: 200, body: "ok", headers: {})
res = EisBilling::SendDataToDirecto.send_request(object_data: [], monthly: true, dry: true)