Skip to content

Commit

Permalink
fix tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
zekehuntergreen committed Mar 21, 2024
1 parent ae1e3c1 commit 02488eb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import test.integration.Helpers.stubControllerComponentsAsUser
import test.{TestAnnotations, TestUserManagement, TestUserRegistration}
import utils.IndexTestHelpers
import utils.attempt.AttemptAwait._
import services.MetricsService.{NoOpMetricsService}

class ElasticsearchResourcesITest extends AnyFreeSpec with Matchers with ElasticsearchTestService with IndexTestHelpers {
import TestUserManagement._
Expand Down Expand Up @@ -615,7 +616,8 @@ class ElasticsearchResourcesITest extends AnyFreeSpec with Matchers with Elastic
val annotations = new TestAnnotations(usersToWorkspaces)

val controllerComponents = stubControllerComponentsAsUser(reqUser.username, userManagement)
val search = new Search(controllerComponents, userManagement, elasticResources, annotations)
val metricsService = new NoOpMetricsService()
val search = new Search(controllerComponents, userManagement, elasticResources, annotations, metricsService)

fn(search)
}
Expand Down

0 comments on commit 02488eb

Please sign in to comment.