diff --git a/src/test/java/cat/udl/eps/softarch/demo/steps/EditShelterStepDefs.java b/src/test/java/cat/udl/eps/softarch/demo/steps/EditShelterStepDefs.java index b47fa028..fbda5266 100644 --- a/src/test/java/cat/udl/eps/softarch/demo/steps/EditShelterStepDefs.java +++ b/src/test/java/cat/udl/eps/softarch/demo/steps/EditShelterStepDefs.java @@ -26,15 +26,9 @@ public void thereAShelterWithNameEmailAndMobile(String name, String email, Strin shelterRepository.save(shelter); } - @When("^I update the shelter with name \"([^\"]*)\" to name \"([^\"]*)\" email \"([^\"]*)\" and mobile \"([^\"]*)\"$") - public void iUpdateTheShelterWithNameToNameEmailAndMobile(String PrevName, String NewName, String email, String mobile) { - } - @And("^I am shelter volunteer with name \"([^\"]*)\"$") - public void iAmShelterVolunteer(String name) { - //user = userRepository.findById(name); - } + } diff --git a/src/test/resources/features/EditShelter.feature b/src/test/resources/features/EditShelter.feature deleted file mode 100644 index 759f4f53..00000000 --- a/src/test/resources/features/EditShelter.feature +++ /dev/null @@ -1,16 +0,0 @@ -Feature: Edit Shelter - In order to update shelter information - As a shelter manager - I want to edit a shelter - - Background: - Given There is a registered user with username "user" and password "existing" and email "user@sample.app" - And There a shelter with name "Shelter 1" email "shelter@sample.com" and mobile "999999999" - - Scenario: Edit shelter: - Given I login as "username" with password "password" - And I am shelter volunteer with name "username" - When I update the shelter with name "Shelter 1" to name "Another Shelter" email "another email" and mobile "another mobile" - Then The response code is 200 - -