Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nylonee committed Feb 15, 2024
1 parent d7c8953 commit 730235d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/test/scala/PlexTokenSyncSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class PlexTokenSyncSpec extends AnyFlatSpec with Matchers with MockFactory {
PlexConfiguration(
plexWatchlistUrls = Set(),
plexTokens = plexTokens,
skipFriendSync = false
skipFriendSync = false,
hasPlexPass = true
),
DeleteConfiguration(
movieDeleting = false,
Expand Down
2 changes: 0 additions & 2 deletions src/test/scala/configuration/ConfigurationUtilsSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import org.http4s.{Method, Uri}
import org.scalamock.scalatest.MockFactory
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers
import io.circe.generic.auto._
import io.circe.parser._
import io.circe.syntax.EncoderOps

import scala.io.Source

Expand Down
3 changes: 2 additions & 1 deletion src/test/scala/plex/PlexUtilsSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ class PlexUtilsSpec extends AnyFlatSpec with Matchers with PlexUtils with MockFa
private def createConfiguration(plexTokens: Set[String]): PlexConfiguration = PlexConfiguration(
plexWatchlistUrls = Set(Uri.unsafeFromString("https://localhost:9090")),
plexTokens = plexTokens,
skipFriendSync = false
skipFriendSync = false,
hasPlexPass = true
)
}

0 comments on commit 730235d

Please sign in to comment.