Verify that configuration is saved after an album was created
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 20 Oct 2016 17:37:50 +0000 (19:37 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 20 Oct 2016 17:37:50 +0000 (19:37 +0200)
src/test/java/net/pterodactylus/sone/web/CreateAlbumPageTest.java

index 79cedca..da0ec0c 100644 (file)
@@ -61,6 +61,7 @@ public class CreateAlbumPageTest extends WebPageTest {
                        verify(newAlbum.modify()).setTitle("new name");
                        verify(newAlbum.modify()).setDescription("new description");
                        verify(newAlbum.modify()).update();
+                       verify(core).touchConfiguration();
                }
        }