getCustomers testet fungerar nu, title ska vara customers för testet letar efter just det ordet
This commit is contained in:
parent
7d8a89b417
commit
236d0d43b5
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class Database {
|
||||||
|
|
||||||
public String getCustomers(Request req, Response res) {
|
public String getCustomers(Request req, Response res) {
|
||||||
String query = "SELECT name, address FROM Customer";
|
String query = "SELECT name, address FROM Customer";
|
||||||
String title = "Customer";
|
String title = "customers"; //ändra inte det är till för testet, söker efter just "customers" små bokstäver
|
||||||
|
|
||||||
return getJson(query, title);
|
return getJson(query, title);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue