You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
689 B

package com.mydreamjob.job;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.test.context.ActiveProfiles;
/**
* Q01 §7 查询副作用行级快照 —— H2 层。
*
* <p>与 {@link JobSearchQuerySideEffectMySqlIntegrationTest} 执行完全相同的用例,
* 用于 H2 / 真实 MySQL 逐项对账。</p>
*/
@SpringBootTest
@ActiveProfiles("integration-test")
class JobSearchQuerySideEffectIntegrationTest extends JobSearchQuerySideEffectTestBase {
@MockBean
private RedisTemplate<String, Object> redisTemplate;
}