File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ defmodule Knock.MixProject do
22 use Mix.Project
33
44 @ source_url "https://github.com/knocklabs/knock-elixir"
5- @ version "0.4.18 "
5+ @ version "0.4.19 "
66
77 def project do
88 [
Original file line number Diff line number Diff line change @@ -38,14 +38,15 @@ defmodule KnockTest do
3838 test "if set, will use the Tesla default adapter if one is not provided" do
3939 Application . put_env ( :tesla , :adapter , Tesla.Adapter.Hackney )
4040
41- knock = TestClient . client ( )
41+ knock = TestClient . client ( api_key: "sk_test_12345" )
4242 assert knock . adapter == Tesla.Adapter.Hackney
4343
4444 Application . delete_env ( :tesla , :adapter )
4545 end
4646
4747 test "it can set the adapter to a custom one" do
48- knock = TestClient . client ( adapter: Tesla.Adapter.Mint )
48+ knock = TestClient . client ( adapter: Tesla.Adapter.Mint , api_key: "sk_test_12345" )
49+
4950 assert knock . adapter == Tesla.Adapter.Mint
5051 end
5152 end
You can’t perform that action at this time.
0 commit comments