Skip to content

Commit

Permalink
fix: orthography path to database test resource
Browse files Browse the repository at this point in the history
  • Loading branch information
helisfreitas committed Oct 4, 2024
1 parent b606e94 commit 94bcbff
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DishResourcesIT {


@Test
@DataSet(value = "/DishResourcesIt/dishes-scenario-2.yml")
@DataSet(value = "/DishResourcesIT/dishes-scenario-2.yml")
@Transactional
void shouldFindAllDishesFromRestaurant() {

Expand All @@ -47,7 +47,7 @@ void shouldFindAllDishesFromRestaurant() {
}

@Test
@DataSet(value = "/DishResourcesIt/dishes-scenario-2.yml")
@DataSet(value = "/DishResourcesIT/dishes-scenario-2.yml")
@Transactional
void shouldFindByIdDishesFromRestaurant() {

Expand All @@ -61,8 +61,8 @@ void shouldFindByIdDishesFromRestaurant() {
}

@Test
@DataSet(value = "/DishResourcesIt/dishes-scenario-2.yml")
@ExpectedDataSet(value = "/DishResourcesIt/dishes-scenario-1.yml")
@DataSet(value = "/DishResourcesIT/dishes-scenario-2.yml")
@ExpectedDataSet(value = "/DishResourcesIT/dishes-scenario-1.yml")
@Transactional
void shouldDeleteByIdDishesFromRestaurant() {

Expand All @@ -74,8 +74,8 @@ void shouldDeleteByIdDishesFromRestaurant() {
}

@Test
@DataSet(value = "/DishResourcesIt/dishes-scenario-1.yml")
@ExpectedDataSet(value = "/DishResourcesIt/dishes-scenario-2.yml")
@DataSet(value = "/DishResourcesIT/dishes-scenario-1.yml")
@ExpectedDataSet(value = "/DishResourcesIT/dishes-scenario-2.yml")
@Transactional
void shouldCreateDishesFromRestaurant() {
DishRequest request = new DishRequest();
Expand Down Expand Up @@ -114,8 +114,8 @@ void shouldShowErrorOnCreateDishesFromRestaurantWithoutName() {
}

@Test
@DataSet(value = "/DishResourcesIt/dishes-scenario-2.yml")
@ExpectedDataSet(value = "/DishResourcesIt/dishes-scenario-2-modified.yml")
@DataSet(value = "/DishResourcesIT/dishes-scenario-2.yml")
@ExpectedDataSet(value = "/DishResourcesIT/dishes-scenario-2-modified.yml")
@Transactional
void shouldUpdateNameDishesFromRestaurant() {
DishRequest request = new DishRequest();
Expand Down

0 comments on commit 94bcbff

Please sign in to comment.