Skip to content

Commit

Permalink
move spec
Browse files Browse the repository at this point in the history
  • Loading branch information
lucymcnatt committed Feb 1, 2024
1 parent 86aadd6 commit 2994b3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,3 @@ case class DiskWithoutWorkspaceException(id: DiskId, traceId: TraceId)
StatusCodes.Conflict,
traceId = Some(traceId)
)

case class DiskWithoutWsmResourceIdException(id: DiskId, traceId: TraceId)
extends LeoException(
s"Persistent disk ${id.value} cannot be deleted. Disk record has no wsmResourceId",
StatusCodes.Conflict,
traceId = Some(traceId)
)
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package org.broadinstitute.dsde.workbench.leonardo
package org.broadinstitute.dsde.workbench.leonardo.model

import org.broadinstitute.dsde.workbench.leonardo.{LeonardoTestSuite, WsmState}
import org.scalatest.flatspec.AnyFlatSpecLike
import org.scalatest.matchers.should.Matchers

class modelsSpec extends LeonardoTestSuite with Matchers with AnyFlatSpecLike {
class ModelsSpec extends LeonardoTestSuite with Matchers with AnyFlatSpecLike {
it should "convert WSM state to value correctly" in {
WsmState(None).value shouldBe "DELETED"
WsmState(Some("CREATING")).value shouldBe "CREATING"
Expand Down

0 comments on commit 2994b3a

Please sign in to comment.