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 e4d32c5
Showing 1 changed file with 5 additions and 5 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,7 +61,7 @@ void shouldFindByIdDishesFromRestaurant() {
}

@Test
@DataSet(value = "/DishResourcesIt/dishes-scenario-2.yml")
@DataSet(value = "/DishResourcesIT/dishes-scenario-2.yml")
@ExpectedDataSet(value = "/DishResourcesIt/dishes-scenario-1.yml")
@Transactional
void shouldDeleteByIdDishesFromRestaurant() {
Expand All @@ -74,7 +74,7 @@ void shouldDeleteByIdDishesFromRestaurant() {
}

@Test
@DataSet(value = "/DishResourcesIt/dishes-scenario-1.yml")
@DataSet(value = "/DishResourcesIT/dishes-scenario-1.yml")
@ExpectedDataSet(value = "/DishResourcesIt/dishes-scenario-2.yml")
@Transactional
void shouldCreateDishesFromRestaurant() {
Expand Down Expand Up @@ -115,7 +115,7 @@ void shouldShowErrorOnCreateDishesFromRestaurantWithoutName() {

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

0 comments on commit e4d32c5

Please sign in to comment.