From 2c285200f460a2e5941a12962d58f12c61ad9f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20W=C3=B6ginger?= Date: Sat, 16 Dec 2023 18:39:30 +0100 Subject: [PATCH] fix credo --- lib/radiator/podcast.ex | 2 +- test/radiator/podcast_test.exs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/radiator/podcast.ex b/lib/radiator/podcast.ex index 785030cc..b65ba4fc 100644 --- a/lib/radiator/podcast.ex +++ b/lib/radiator/podcast.ex @@ -7,7 +7,7 @@ defmodule Radiator.Podcast do import Ecto.Query, warn: false alias Radiator.Repo - alias Radiator.Podcast.{ Episode, Network, Show} + alias Radiator.Podcast.{Episode, Network, Show} @doc """ Returns the list of networks. diff --git a/test/radiator/podcast_test.exs b/test/radiator/podcast_test.exs index 6c800778..57378371 100644 --- a/test/radiator/podcast_test.exs +++ b/test/radiator/podcast_test.exs @@ -4,8 +4,7 @@ defmodule Radiator.PodcastTest do import Radiator.PodcastFixtures alias Radiator.Podcast - alias Radiator.Podcast.{ Episode, Network, Show} - + alias Radiator.Podcast.{Episode, Network, Show} describe "networks" do @invalid_attrs %{title: nil} @@ -58,7 +57,6 @@ defmodule Radiator.PodcastTest do end describe "shows" do - @invalid_attrs %{title: nil, hostname: nil} test "list_shows/0 returns all shows" do @@ -113,7 +111,6 @@ defmodule Radiator.PodcastTest do end describe "episodes" do - @invalid_attrs %{title: nil} test "list_episodes/0 returns all episodes" do