AY1920S1-CS2103-F09-4 / main

Insurelytics
https://ay1920s1-cs2103-f09-4.github.io/main/
MIT License
1 stars 5 forks source link

repeated nric and phone no. #224

Closed jugsliao closed 4 years ago

jugsliao commented 4 years ago

Describe the bug 2 or more people can have same nric and phone no. as long as name is diff

To Reproduce Steps to reproduce the behavior:

  1. changing the name but keeping everything else the same when adding people

Actual behavior a new person is added even though they have same nric and phone no. as existing people in listpeople

Expected behavior the new person should be rejected as nric and phone no. are not shared