{-|
Module      : Core.Orchestrator
Description :
Copyright   : (c) CNRS, 2017-Present
License     : AGPL + CECILL v3
Maintainer  : team@gargantext.org
Stability   : experimental
Portability : POSIX

-}

module Test.Core.Orchestrator
  ( qcTests )
where

import Data.Aeson qualified as A
import Gargantext.API.Admin.Orchestrator.Types
import Gargantext.Prelude
import Test.Instances ()
import Test.Hspec
import Test.Hspec.QuickCheck


qcTests :: Spec
qcTests =
  describe "Orchestrator QuickCheck tests" $ do
    prop "ExternalAPIs aeson encoding" $ \m -> A.decode (A.encode (m :: ExternalAPIs)) == Just m
