Skip to content

Commit

Permalink
#86: Move tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-sita committed Jul 28, 2024
1 parent 7302f6f commit 771d2b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package place.sita.labelle.core.repository.inrepository;
package place.sita.labelle.core.repository.inrepository.image;

import org.jooq.DSLContext;
import org.junit.jupiter.api.AfterEach;
Expand All @@ -7,9 +7,7 @@
import place.sita.labelle.core.TestContainersTest;
import place.sita.labelle.core.cache.CacheRegistry;
import place.sita.labelle.core.images.imagelocator.ImageLocatorService;
import place.sita.labelle.core.repository.inrepository.delta.DeltaService;
import place.sita.labelle.core.repository.inrepository.image.ImageRepository;
import place.sita.labelle.core.repository.inrepository.image.ImageResponse;
import place.sita.labelle.core.repository.inrepository.InRepositoryService;
import place.sita.labelle.core.repository.inrepository.tags.Tag;
import place.sita.labelle.core.repository.repositories.Repository;
import place.sita.labelle.core.repository.repositories.RepositoryService;
Expand All @@ -30,7 +28,6 @@ public class ImageRepositoryTest extends TestContainersTest {
@Autowired
private ImageRepository imageRepository;


@Autowired
private DSLContext context;

Expand All @@ -43,9 +40,6 @@ public class ImageRepositoryTest extends TestContainersTest {
@Autowired
private ImageLocatorService imageLocatorService;

@Autowired
private DeltaService deltaService;

@Autowired
private CacheRegistry cacheRegistry;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
package place.sita.labelle.core.repository.inrepository;
package place.sita.labelle.core.repository.inrepository.image;

import org.jooq.DSLContext;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import place.sita.labelle.core.TestContainersTest;
import place.sita.labelle.core.cache.CacheRegistry;
import place.sita.labelle.core.repository.inrepository.image.ImageService;
import place.sita.labelle.core.repository.inrepository.InRepositoryService;
import place.sita.labelle.core.repository.inrepository.tags.Tag;
import place.sita.labelle.core.repository.repositories.Repository;
import place.sita.labelle.core.repository.repositories.RepositoryService;
import place.sita.labelle.jooq.Tables;

import static org.assertj.core.api.Assertions.assertThat;

public class InRepositoryTest extends TestContainersTest {
public class ImageServiceIdsTest extends TestContainersTest {

@Autowired
private DSLContext context;
Expand Down

0 comments on commit 771d2b9

Please sign in to comment.