Skip to content

Commit 7e472a0

Browse files
authored
chore: prepare for release (#44)
* chore: prepare for release * chore: fix tests
1 parent 972c35f commit 7e472a0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
[

test/knock_test.exs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)