mirror of
https://gitee.com/dcren/initializr.git
synced 2026-02-26 05:32:58 +08:00
Clarify that this project does not provide a Web UI
This commit removes any reference to start.spring.io in the reference guide, moving the user guide there in the process. Closes gh-1100
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -38,10 +38,10 @@ import org.springframework.test.context.TestExecutionListeners.MergeMode;
|
||||
@TestExecutionListeners(mergeMode = MergeMode.MERGE_WITH_DEFAULTS,
|
||||
listeners = MockMvcClientHttpRequestFactoryTestExecutionListener.class)
|
||||
@AutoConfigureMockMvc
|
||||
@AutoConfigureRestDocs(outputDir = "target/snippets", uriPort = 80, uriHost = "start.spring.io")
|
||||
@AutoConfigureRestDocs(outputDir = "target/snippets", uriPort = 80, uriHost = "start.example.com")
|
||||
public abstract class AbstractInitializrControllerIntegrationTests extends AbstractInitializrIntegrationTests {
|
||||
|
||||
protected String host = "start.spring.io";
|
||||
protected String host = "start.example.com";
|
||||
|
||||
@Autowired
|
||||
private MockMvcClientHttpRequestFactory requests;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -37,7 +37,7 @@ public class CommandLineMetadataControllerSslIntegrationTests extends AbstractIn
|
||||
void forceSsl() {
|
||||
ResponseEntity<String> response = invokeHome("curl/1.2.4", "*/*");
|
||||
String body = response.getBody();
|
||||
assertThat(body).as("Must force https").contains("https://start.spring.io/");
|
||||
assertThat(body).as("Must force https").contains("https://start.example.com/");
|
||||
assertThat(body).as("Must force https").doesNotContain("http://");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user