PAN-50 Wrote Unit tests for the Theorem Controller, and initial integration Test for the theorem controller, but need to fix custom queries in both accountRepository and theoremRepository

This commit is contained in:
2019-03-11 00:09:34 -06:00
parent 816d85196b
commit fd760293ef
6 changed files with 387 additions and 6 deletions
@@ -67,7 +67,7 @@ public class TheoremController {
@GetMapping("/{proven_status}")
public @ResponseBody
ResponseEntity<List<TheoremDto>> getAllTheoremsByBranch(@PathVariable("proven_status") final Boolean provenStatus) {
ResponseEntity<List<TheoremDto>> getAllTheoremsByProvenStatus(@PathVariable("proven_status") final Boolean provenStatus) {
LOG.info("Received request to query for theorems whose proven status is " + provenStatus);
if (provenStatus == null) {
LOG.error("ERROR: branch was null");