1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-20 21:21:55 +00:00

Fixed sending workflow emails to previous assignee (#422)

This commit is contained in:
buherman11
2020-06-10 17:04:09 +07:00
committed by GitHub
parent e474e7cd75
commit 35339f7328
2 changed files with 4 additions and 2 deletions

View File

@@ -226,7 +226,7 @@ public class TestRouteResource extends BaseJerseyTest {
.param("transition", "APPROVED")), JsonObject.class);
Assert.assertFalse(json.containsKey("route_step"));
Assert.assertTrue(json.getBoolean("readable")); // Admin can read everything
Assert.assertTrue(popEmail().contains("workflow step"));
Assert.assertNull(popEmail()); // Last step does not send any email
// Get the route on document 1
json = target().path("/route")