Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w committed Jun 6, 2017
1 parent 33347bb commit d3f82e4
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -4,8 +4,10 @@ import com.microsoft.partnercatalyst.fortis.spark.transforms.locations.Geofence
import com.microsoft.partnercatalyst.fortis.spark.transforms.locations.dto.FeatureServiceFeature
import org.scalatest.FlatSpec

import scala.util.Try

class TestFeatureServiceClient(bboxResponse: String) extends FeatureServiceClient(host = "unittest") {
override def fetchBboxResponse(geofence: Geofence): String = bboxResponse
override def fetchBboxResponse(geofence: Geofence): Try[String] = Try(bboxResponse)
}

class FeatureServiceClientSpec extends FlatSpec {
Expand Down

0 comments on commit d3f82e4

Please sign in to comment.