From 54313bb90c44994d4245d629da539d2c0f150be0 Mon Sep 17 00:00:00 2001 From: "feliks.pobiedzinski@swmansion.com" Date: Wed, 20 Nov 2024 19:13:37 +0100 Subject: [PATCH] Fix test, rename file --- lib/membrane/{forwarding_filter.ex => connector.ex} | 0 test/membrane/integration/connector_test.exs | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/membrane/{forwarding_filter.ex => connector.ex} (100%) diff --git a/lib/membrane/forwarding_filter.ex b/lib/membrane/connector.ex similarity index 100% rename from lib/membrane/forwarding_filter.ex rename to lib/membrane/connector.ex diff --git a/test/membrane/integration/connector_test.exs b/test/membrane/integration/connector_test.exs index cb8f39dab..cc6b7102e 100644 --- a/test/membrane/integration/connector_test.exs +++ b/test/membrane/integration/connector_test.exs @@ -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 @@ -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