Browse Source

Refactoring: Minor Renaming in User class

feature-pr/user
Maxim Volkov 3 years ago
parent
commit
8b877b0621
  1. 2
      projjpn/src/main/java/de/hs_fulda/ciip/projjpn/User.java
  2. 2
      projjpn/src/test/java/de/hs_fulda/ciip/projjpn/CustomersTest.java

2
projjpn/src/main/java/de/hs_fulda/ciip/projjpn/User.java

@ -32,7 +32,7 @@ public class User {
public String getNickName() { public String getNickName() {
return nickName; return nickName;
} }
public String geteMail() {
public String getEMail() {
return eMail; return eMail;
} }
public Birthdate getBirthdate() { public Birthdate getBirthdate() {

2
projjpn/src/test/java/de/hs_fulda/ciip/projjpn/CustomersTest.java

@ -146,7 +146,7 @@ public class CustomersTest extends TestCase {
boolean correctFirstName = "Mia".equals(gotUser.getFirstName()); boolean correctFirstName = "Mia".equals(gotUser.getFirstName());
boolean correctLastName = "Muster".equals(gotUser.getLastName()); boolean correctLastName = "Muster".equals(gotUser.getLastName());
boolean correctNickName = "harley".equals(gotUser.getNickName()); boolean correctNickName = "harley".equals(gotUser.getNickName());
boolean correctEMail = "mia@muster.de".equals(gotUser.geteMail());
boolean correctEMail = "mia@muster.de".equals(gotUser.getEMail());
boolean correctBirthdate = birthdate.toString().equals(gotUser.birthdate.toString()); boolean correctBirthdate = birthdate.toString().equals(gotUser.birthdate.toString());
// Then // Then

Loading…
Cancel
Save