Skip to content

Commit

Permalink
Update mock API keys
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Dec 7, 2023
1 parent 9d76be0 commit b356821
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ end

```ex
config :workos, WorkOS.Client,
api_key: "sk_12345",
client_id: "project_12345"
api_key: "sk_example_123456789",
client_id: "client_123456789"
```

The only required config option is `:api_key` and `:client_id`.
Expand Down
4 changes: 2 additions & 2 deletions config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ case {workos_api_key, workos_client_id} do
config :tesla, adapter: Tesla.Mock

config :workos, WorkOS.Client,
api_key: "sk_12345",
client_id: "project_12345"
api_key: "sk_example_123456789",
client_id: "client_123456789"

{api_key, client_id} ->
config :workos, WorkOS.Client, api_key: api_key, client_id: client_id
Expand Down
4 changes: 2 additions & 2 deletions test/support/test_case.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ defmodule WorkOS.TestCase do

def setup_env(_context) do
%{
api_key: System.get_env("WORKOS_API_KEY", "sk_12345"),
client_id: System.get_env("WORKOS_CLIENT_ID", "project_12345")
api_key: System.get_env("WORKOS_API_KEY", "sk_example_123456789"),
client_id: System.get_env("WORKOS_CLIENT_ID", "client_123456789")
}
end
end

0 comments on commit b356821

Please sign in to comment.