Skip to content

Commit

Permalink
Updating yaml, updating MockDataBuilders
Browse files Browse the repository at this point in the history
  • Loading branch information
rossphelan committed Oct 31, 2024
1 parent dda797a commit 18468f3
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static NewCat buildNewCat(){
newCat.setBreed("Tabby");
newCat.setColor("White with black spots");
newCat.setGender("FEMALE");
newCat.birthdate(new Birthdate().year(2022).month(04).day(17));
newCat.birthdate(new Birthdate().year(2022).month(4).day(17));
newCat.putCatProperty1Item("Intelligence", "9");
newCat.setStatus(new PetStatus().value("AVAILABLE"));
return newCat;
Expand All @@ -29,7 +29,7 @@ public static Cat buildCat(){
cat.setBreed("Tabby");
cat.setColor("White with black spots");
cat.setGender("FEMALE");
cat.birthdate(new Birthdate().year(2022).month(04).day(17));
cat.birthdate(new Birthdate().year(2022).month(4).day(17));
cat.putCatProperty1Item("Intelligence", "9");
cat.setStatus(new PetStatus().value("AVAILABLE"));
return cat;
Expand All @@ -41,7 +41,7 @@ public static NewDog buildNewDog(){
newDog.setBreed("Tabby");
newDog.setColor("White with black spots");
newDog.setGender("FEMALE");
newDog.birthdate(new Birthdate().year(2022).month(04).day(17));
newDog.birthdate(new Birthdate().year(2022).month(4).day(17));
newDog.putDogProperty1Item("Intelligence", "9");
newDog.setStatus(new PetStatus().value("AVAILABLE"));
return newDog;
Expand All @@ -53,7 +53,7 @@ public static Dog buildDog(){
dog.setBreed("Tabby");
dog.setColor("White with black spots");
dog.setGender("FEMALE");
dog.birthdate(new Birthdate().year(2022).month(04).day(17));
dog.birthdate(new Birthdate().year(2022).month(4).day(17));
dog.putDogProperty1Item("Intelligence", "9");
dog.setStatus(new PetStatus().value("AVAILABLE"));
return dog;
Expand All @@ -65,14 +65,13 @@ public static Pet buildPet(){
pet.setBreed("Tabby");
pet.setColor("White with black spots");
pet.setGender("FEMALE");
pet.birthdate(new Birthdate().year(2022).month(04).day(17));
pet.birthdate(new Birthdate().year(2022).month(4).day(17));
pet.setStatus(new PetStatus().value("AVAILABLE"));
return pet;
}

public static PetStatus buildPetStatus(){
PetStatus petStatus = new PetStatus().value("RESERVED");
return petStatus;
return new PetStatus().value("RESERVED");
}

public static NewAdoption buildNewAdoptionObject(){
Expand Down

0 comments on commit 18468f3

Please sign in to comment.