Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Watcher24/f38153244b70df19d0f5cd26abeabc66 to your computer and use it in GitHub Desktop.
Save Watcher24/f38153244b70df19d0f5cd26abeabc66 to your computer and use it in GitHub Desktop.
to-FixtureTest
@Order(11)
@Test
@Fixture(fixtureFile = "website.ääööüü.yaml", repository = "website")
@Cleanup("website:/ääööüü")
void loadAndCleanUpFixtureWithUTF8nodeName(){
assertTrue(magnoliaRestClient.nodeExists("website", "/ääööüü"));
}
@Order(12)
@Test
void confirmFixtureWithUTF8nodeNameCleanedUpOnAuthor(){
assertFalse(magnoliaRestClient.nodeExists("website", "/ääööüü"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment