Skip to content

Commit

Permalink
fix tests to main
Browse files Browse the repository at this point in the history
  • Loading branch information
lbialy committed May 24, 2024
1 parent ba01946 commit 89c569f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions besom-cfg/k8s/src/test/scala/DummyContext.scala
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
package besom.internal

import pulumirpc.resource.*
import pulumirpc.resource.{Result => _, *}
import pulumirpc.provider.CallRequest
import pulumirpc.provider.CallResponse
import pulumirpc.provider.InvokeResponse
import pulumirpc.engine.*
import besom.NonEmptyString
import besom.internal.logging.BesomLogger
import pulumirpc.callback.Callback

object DummyContext:
val dummyRunInfo = RunInfo(Some("test-organization"), "test-project", "test-stack", true, 4, false, "dummy", "dummy")
val dummyFeatureSupport = FeatureSupport(true, true, true, true)
val dummyFeatureSupport = FeatureSupport(true, true, true, true, true)
val dummyMonitor = new Monitor:
def registerStackTransform(callback: Callback): Result[Unit] =
Result.fail(Exception("Not implemented"))
def call(callRequest: ResourceCallRequest): Result[CallResponse] =
Result.fail(Exception("Not implemented"))
def call(callRequest: CallRequest): Result[CallResponse] =
Result.fail(Exception("Not implemented"))
def invoke(invokeRequest: ResourceInvokeRequest): Result[InvokeResponse] =
Expand Down

0 comments on commit 89c569f

Please sign in to comment.