mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-19 18:22:26 +08:00
Add bootVersion to home page
This commit is contained in:
@@ -53,6 +53,12 @@ class IntegrationTests {
|
||||
assertTrue('Wrong body:\n' + body, body.contains('name="style" value="web"'))
|
||||
}
|
||||
|
||||
@Test
|
||||
void homeHasBootVersion() {
|
||||
String body = home()
|
||||
assertTrue('Wrong body:\n' + body, body.contains('name="bootVersion" value="1'))
|
||||
}
|
||||
|
||||
@Test
|
||||
void downloadStarter() {
|
||||
byte[] body = new TestRestTemplate().getForObject('http://localhost:' + port + 'starter.zip', byte[])
|
||||
|
Reference in New Issue
Block a user