Commit 10b34d9d authored by Simone Vuotto's avatar Simone Vuotto

Fix tests

parent 17c03675
......@@ -3,6 +3,7 @@ package it.unige.ReqV.projects;
import it.unige.ReqV.ReqVApplication;
import it.unige.ReqV.user.User;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
......@@ -16,8 +17,13 @@ public class ProjectsTests {
User user;
void setUp() {
public void setUp() {
//user = new User("admin", bCryptPasswordEncoder.encode("1234"), "");
public void testGetProjects() {
INSERT INTO req_user (id, email, password, username) VALUES ("admin", "")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment