Skip to content

Commit

Permalink
APID-520 - clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprakashiv committed Oct 13, 2022
1 parent cc9bab3 commit 0470754
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]


Expand Down

0 comments on commit 0470754

Please sign in to comment.