From 511e4989abb1c193a436468f6c83cff3d9f1e649 Mon Sep 17 00:00:00 2001 From: BrunoRosendo Date: Mon, 7 Aug 2023 19:25:47 +0100 Subject: [PATCH] Fixed wrong team in project test --- .../ni/website/backend/controller/ProjectControllerTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/kotlin/pt/up/fe/ni/website/backend/controller/ProjectControllerTest.kt b/src/test/kotlin/pt/up/fe/ni/website/backend/controller/ProjectControllerTest.kt index ae2c2da4..90f36779 100644 --- a/src/test/kotlin/pt/up/fe/ni/website/backend/controller/ProjectControllerTest.kt +++ b/src/test/kotlin/pt/up/fe/ni/website/backend/controller/ProjectControllerTest.kt @@ -81,7 +81,7 @@ internal class ProjectControllerTest @Autowired constructor( val testProject = Project( "Awesome project", "this is a test project", - mutableListOf(testAccount2), + mutableListOf(testAccount), mutableListOf(), "awesome-project", "cool-image.png", @@ -93,7 +93,7 @@ internal class ProjectControllerTest @Autowired constructor( listOf( CustomWebsite("https://test-website.com", "https://test-website.com/logo.png", "Test") ), - mutableListOf(testAccount), + mutableListOf(testAccount2), listOf( TimelineEvent(TestUtils.createDate(2020, 7, 28), "This is a new event"), TimelineEvent(TestUtils.createDate(2001, 2, 12), "This is an old event"), @@ -1466,7 +1466,7 @@ internal class ProjectControllerTest @Autowired constructor( ) @Test - fun `should remove a account from project's hall of fame `() { + fun `should remove an account from project's hall of fame`() { mockMvc.perform( put("/projects/{idProject}/removeHallOfFameMember/{idAccount}", testProject.id, testAccount2.id) )