Created
July 19, 2020 10:16
-
-
Save hkakutalua/441bb4076f35d596d4357682bc703820 to your computer and use it in GitHub Desktop.
Test wth PostgresDbCleanerExtension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SpringBootTest | |
@ExtendWith(PostgresDbCleanerExtension::class) | |
internal class CartsControllerTests { | |
@Autowired | |
lateinit var cartsRepository: CartsRepository | |
@Autowired | |
lateinit var webApplicationContext: WebApplicationContext | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment