diff --git a/test/uk/gov/hmrc/apisubscriptionfields/repository/ApiFieldDefinitionsRepositorySpec.scala b/test/uk/gov/hmrc/apisubscriptionfields/repository/ApiFieldDefinitionsRepositorySpec.scala index f1d5c94..b19c949 100644 --- a/test/uk/gov/hmrc/apisubscriptionfields/repository/ApiFieldDefinitionsRepositorySpec.scala +++ b/test/uk/gov/hmrc/apisubscriptionfields/repository/ApiFieldDefinitionsRepositorySpec.scala @@ -38,8 +38,6 @@ class ApiFieldDefinitionsRepositorySpec extends AnyWordSpec private val repository = app.injector.instanceOf[ApiFieldDefinitionsMongoRepository] -// private val repository = new ApiFieldDefinitionsMongoRepository(mongoDbProvider) - override protected def beforeEach() { super.beforeEach() await(repository.collection.drop.toFuture()) diff --git a/test/uk/gov/hmrc/apisubscriptionfields/repository/SubscriptionFieldsRepositorySpec.scala b/test/uk/gov/hmrc/apisubscriptionfields/repository/SubscriptionFieldsRepositorySpec.scala index 3a996b9..ac5d748 100644 --- a/test/uk/gov/hmrc/apisubscriptionfields/repository/SubscriptionFieldsRepositorySpec.scala +++ b/test/uk/gov/hmrc/apisubscriptionfields/repository/SubscriptionFieldsRepositorySpec.scala @@ -25,7 +25,6 @@ import org.mongodb.scala.model.{Filters, FindOneAndUpdateOptions, ReturnDocument import org.scalatest.matchers.should.Matchers import org.scalatestplus.play.guice.GuiceOneAppPerSuite import play.api.test.{DefaultAwaitTimeout, FutureAwaits} -import uk.gov.hmrc.apisubscriptionfields.SubscriptionFieldsTestData import uk.gov.hmrc.apisubscriptionfields.AsyncHmrcSpec import uk.gov.hmrc.apisubscriptionfields.SubscriptionFieldsTestData.{FakeClientId, FakeClientId2, FakeContext, FakeContext2, FakeVersion, createSubscriptionFieldsWithApiContext, fakeRawContext2, fieldN, uniqueClientId} import uk.gov.hmrc.mongo.play.json.Codecs @@ -41,9 +40,6 @@ class SubscriptionFieldsRepositorySpec extends AsyncHmrcSpec with FutureAwaits with BeforeAndAfterEach { -// private val mongoDbProvider = new MongoDbProvider { -// override val mongo: () => DB = self.mongo -// } private val repository = app.injector.instanceOf[SubscriptionFieldsMongoRepository]