Move Spring Geode Security Sample test class to the example.app.security.tests package.

Declare both SBDG security auth and SSL environment post-proccessor enabled properties.
This commit is contained in:
John Blum
2021-03-30 12:04:36 -07:00
parent d07143467e
commit d865b2ee22

View File

@@ -13,7 +13,7 @@
* or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package example.app.security;
package example.app.security.tests;
import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
@@ -63,8 +63,12 @@ import example.app.security.server.BootGeodeSecurityServerApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(
classes = BootGeodeSecurityClientApplication.class,
properties = "spring.boot.data.gemfire.security.ssl.environment.post-processor.enabled=true"
properties = {
"spring.boot.data.gemfire.security.auth.environment.post-processor.enabled=true",
"spring.boot.data.gemfire.security.ssl.environment.post-processor.enabled=true"
}
)
@SuppressWarnings("unused")
public class BootGeodeSecurityClientApplicationIntegrationTests extends ForkingClientServerIntegrationTestsSupport {
@BeforeClass