テストケース - あなたはデータベース内のマークを残していないので、@Transactionalを追加する必要があります

@RunWith(PandoraBootRunner。クラス
@DelegateTo(SpringJUnit4ClassRunner。クラス
@WebAppConfiguration
@ContextConfiguration(クラス =応用クラス
@Transactional
パブリック クラス MarketDiscountHsf2cServiceImplTest

 

おすすめ

転載: www.cnblogs.com/aspirant/p/12344717.html