Fix build

Spring Session's MongoDB store is no longer supported on master.
This commit is contained in:
Stephane Nicoll 2017-05-23 14:14:12 +02:00
parent 41a36b3f7a
commit 8094a6409f
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ public class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurat
public void contextFailsIfStoreTypeNotAvailable() {
this.thrown.expect(BeanCreationException.class);
this.thrown.expectMessage("No session repository could be auto-configured");
this.thrown.expectMessage("session store type is 'mongo'");
load("spring.session.store-type=mongo");
this.thrown.expectMessage("session store type is 'jdbc'");
load("spring.session.store-type=jdbc");
}
@Test