From 3dc9a03a0271410bc17244bd7878181f4c254bc5 Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Mon, 1 Jul 2024 20:08:17 +0700 Subject: [PATCH] Allow rerun of test --- lib/polar/streams/version/transitions.ex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/polar/streams/version/transitions.ex b/lib/polar/streams/version/transitions.ex index 1aa8ef9..2b79322 100644 --- a/lib/polar/streams/version/transitions.ex +++ b/lib/polar/streams/version/transitions.ex @@ -10,6 +10,12 @@ defmodule Polar.Streams.Version.Transitions do fn changes -> transit(changes) end ) + Version + |> transition( + [from: "inactive", to: "testing", via: "test"], + fn changes -> transit(changes) end + ) + Version |> transition( [from: "testing", to: "inactive", via: "deactivate"],