From 5fd8e4293e954eb53d510d67e245039443e5af7d Mon Sep 17 00:00:00 2001 From: Eugen Paraschiv Date: Sun, 4 Mar 2018 17:52:56 +0200 Subject: [PATCH] cleanup work for tests --- libraries/helloWorld.docx | Bin 76893 -> 76890 bytes ...a => BeanRegistrationIntegrationTest.java} | 2 +- ...Test.java => SecurityIntegrationTest.java} | 18 ++++-------------- ...ssionAttrsApplicationIntegrationTest.java} | 2 +- ...rollerWithScopedProxyIntegrationTest.java} | 2 +- ...WithSessionAttributesIntegrationTest.java} | 2 +- ...java => WebTestClientIntegrationTest.java} | 2 +- ...ava => UserRepositoryIntegrationTest.java} | 2 +- 8 files changed, 10 insertions(+), 20 deletions(-) rename spring-5/src/test/java/com/baeldung/functional/{BeanRegistrationTest.java => BeanRegistrationIntegrationTest.java} (96%) rename spring-5/src/test/java/com/baeldung/security/{SecurityTest.java => SecurityIntegrationTest.java} (65%) rename spring-5/src/test/java/com/baeldung/sessionattrs/{SessionAttrsApplicationTests.java => SessionAttrsApplicationIntegrationTest.java} (85%) rename spring-5/src/test/java/com/baeldung/sessionattrs/{TodoControllerWithScopedProxyTest.java => TodoControllerWithScopedProxyIntegrationTest.java} (95%) rename spring-5/src/test/java/com/baeldung/sessionattrs/{TodoControllerWithSessionAttributesTest.java => TodoControllerWithSessionAttributesIntegrationTest.java} (95%) rename spring-5/src/test/java/com/baeldung/web/client/{WebTestClientTest.java => WebTestClientIntegrationTest.java} (97%) rename spring-boot/src/test/java/org/baeldung/repository/{UserRepositoryTest.java => UserRepositoryIntegrationTest.java} (98%) diff --git a/libraries/helloWorld.docx b/libraries/helloWorld.docx index 28196dc241963b5a6c3a992cc19b883f0e95560a..9dcc7ccfeccd8d3961701210a5458ce63f5779ec 100644 GIT binary patch delta 4413 zcmY*dbyO5i7u}^hWGQJDB$kjaNkOC=l!3w85OlUZH_K1*G0oDh&5?Pm)f%>X-t~q z1S8-P*s9h?;kMV^qmy3ia1?Hfu2@to!@I!|BMR`l@o8Ua^8&RnCh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