Assume.assumeTrue(isPhasesSupported());
BaseRepository repo = getTestRepository();
Changeset cs1 = createChangeset();
Changeset cs2 = createChangeset();
Assert.assertEquals(DRAFT, cs1.phase());
Assert.assertEquals(DRAFT, cs2.phase());
PhaseCommand cmd = PhaseCommand.on(repo).pub().rev(cs2.getNode());
cmd.execute();
Assert.assertEquals(PUBLIC, cs1.phase());
Assert.assertEquals(PUBLIC, cs2.phase());