Skip to content

Commit

Permalink
Fix quick_configure/1
Browse files Browse the repository at this point in the history
This was hardcoding `"apn"` instead of using the user-supplied
apn value.
  • Loading branch information
jjcarstens committed May 20, 2021
1 parent c5cff19 commit 20ad070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/vintage_net_qmi/cookbook.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule VintageNetQMI.Cookbook do
%{
type: VintageNetQMI,
vintage_net_qmi: %{
service_providers: [%{apn: "apn"}]
service_providers: [%{apn: apn}]
}
}}
end
Expand Down
2 changes: 1 addition & 1 deletion test/vintage_net_qmi/cookbook_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule VintageNetQMI.CookbookTest do
alias VintageNetQMI.Cookbook

test "simple/1" do
assert {:ok, %{type: VintageNetQMI, vintage_net_qmi: %{service_providers: [%{apn: "apn"}]}}} ==
assert {:ok, %{type: VintageNetQMI, vintage_net_qmi: %{service_providers: [%{apn: "super"}]}}} ==
Cookbook.simple("super")
end
end

0 comments on commit 20ad070

Please sign in to comment.