Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tristan Chuine <tristan.chuine_externe@rte-france.com>
  • Loading branch information
Tristan-WorkGH committed Oct 17, 2024
1 parent 67438fc commit 41b05b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.powsybl.caseserver.elasticsearch.DisableElasticsearch;
import com.powsybl.caseserver.repository.CaseMetadataEntity;
import com.powsybl.caseserver.repository.CaseMetadataRepository;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -44,8 +45,8 @@ class ScheduledCaseCleanerTest {
@MockBean
private CaseService caseService;

@BeforeEach
void setUp() {
@AfterEach
void cleanDB() {
caseMetadataRepository.deleteAll();
}

Expand Down
1 change: 0 additions & 1 deletion src/test/java/com/powsybl/caseserver/utils/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package com.powsybl.caseserver.utils;

import org.springframework.cloud.stream.binder.test.OutputDestination;
Expand Down

0 comments on commit 41b05b3

Please sign in to comment.