Fixed failing unit tests and selenium tests
All failing unit tests and selenium tests are fixed in this code.
To test:
Make sure to repopulate the database with java -cp "$(mvn -q dependency:build-classpath -Dmdep.outputFile=/dev/stdout)":target/classes:target/test-classes edu.ncsu.csc.itrust.unit.datagenerators.TestDataGenerator
You can check there are no failed tests with mvn verify
In the output, you should see:
Tests run: 1720, Failures: 0, Errors: 0, Skipped 0
for the unit tests and
Tests run: 524, Failures: 0, Errors: 0, Skipped 0
for the selenium tests