Skip to content

Commit

Permalink
chore: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Dec 11, 2024
1 parent 38fc282 commit 3ce0150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logflare/backends/adaptor/webhook_adaptor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ defmodule Logflare.Backends.Adaptor.WebhookAdaptor do
module:
{BufferProducer,
[
backend_id: args.backend.id,
backend_id: Map.get(args.backend || %{}, :id),
source_id: args.source.id
]},
transformer: {__MODULE__, :transform, []},
Expand Down
1 change: 1 addition & 0 deletions test/logflare/backends/loki_adaptor_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ defmodule Logflare.Backends.Adaptor.LokiAdaptorTest do

describe "logs ingestion" do
setup do
insert(:plan)
user = insert(:user)
source = insert(:source, user: user)

Expand Down

0 comments on commit 3ce0150

Please sign in to comment.