Changes to accommodate upstream boot changes in sring-cloud-stream core

This commit is contained in:
Soby Chacko
2018-08-14 14:23:32 -04:00
parent 2460ff21f7
commit a5eb9eabc2
6 changed files with 18 additions and 17 deletions

View File

@@ -14,20 +14,15 @@
* limitations under the License.
*/
package demo;
package demo.producer;
import demo.producer.Producer;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = Producer.class)
@WebAppConfiguration
@DirtiesContext
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
public class ModuleApplicationTests {
@Test