You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/support/google_api_mock.ex

10 lines
234 B
Elixir

defmodule Plausible.Google.Api.Mock do
def fetch_stats(_auth, _query, _limit) do
{:ok,
[
%{"name" => "simple web analytics", "count" => 6},
%{"name" => "open-source analytics", "count" => 2}
]}
end
end