Skip to content

Commit

Permalink
Fix test, rename file
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Nov 20, 2024
1 parent 45f99bd commit 54313bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions test/membrane/integration/connector_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ defmodule Membrane.Integration.ConnectorTest do
Testing.Pipeline.notify_child(pipeline, :source, {type, item})

if type in [:stream_format, :event] do
assert_pipeline_notified(pipeline, :filter, {^type, Pad.ref(:input, _id), ^item})
assert_pipeline_notified(pipeline, :connector, {^type, Pad.ref(:input, _id), ^item})
end
end)

spec = get_child(:filter) |> child(:sink, Testing.Sink)
spec = get_child(:connector) |> child(:sink, Testing.Sink)
Testing.Pipeline.execute_actions(pipeline, spec: spec)

data
Expand All @@ -62,7 +62,7 @@ defmodule Membrane.Integration.ConnectorTest do
Testing.Pipeline.notify_child(pipeline, :source, {type, item})

if type in [:stream_format, :event] do
assert_pipeline_notified(pipeline, :filter, {^type, Pad.ref(:input, _id), ^item})
assert_pipeline_notified(pipeline, :connector, {^type, Pad.ref(:input, _id), ^item})
end

case type do
Expand Down

0 comments on commit 54313bb

Please sign in to comment.