title: JUnit5 Repository test. Why I should add this @AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)?
body: <pre><code>@DataJpaTest
  @AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)
  
  class DepartmentRepositoryTest {
  @Autowired
  private DepartmentRepository departmentRepository;
  
  @Autowired
  private TestEntityManager entityManager;
  
  @BeforeEach
  void setUp() {
      Department department = Department.builder()
              .name(&quot;Laws&quot;)
              .code(&quot;Laws-01&quot;)
              .address(&quot;floor 8th&quot;)
              .build();
  
      entityManager.persist(department);
  }
  
  @Test
  public void whenFindById_thenReturnDepartment(){
      Department department = departmentRepository.findById(3L).get();
      assertEquals(department.getName(),&quot;Laws&quot;);
  }
  </code></pre>
  <p>}</p>
  <p>I want to understand this line:
  @AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)</p>