MichaelDysart / SYSC4806_Project

The SYSC4806_Project For Group 2
0 stars 1 forks source link

[30] Prevent surveys with duplicate names from being added. #46

Closed MichaelDysart closed 4 years ago

MichaelDysart commented 4 years ago

Name is now a primary key of a survey. Close #30 Close #46

TaylorAbraham commented 4 years ago

So does this new update where you changed it back to using ID still fix the bug in question?

MichaelDysart commented 4 years ago

@TaylorAbraham yes, it does still fix the issue. Tests in subsequent PRs do an even better job of ensuring valid input, including checking for null surveys, null questions, null question arrays, etc.