From 430ebfd958a23335a904e512b13912327a72505a Mon Sep 17 00:00:00 2001 From: Matt Richardson Date: Wed, 9 Mar 2016 06:07:56 +0000 Subject: [PATCH] Fixing broken test Broke when we added a new project to son --- .../teamCity/buildTriggers/ApiProjectsResponseTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octopus-build-trigger-server/src/test/java/com/mjrichardson/teamCity/buildTriggers/ApiProjectsResponseTest.java b/octopus-build-trigger-server/src/test/java/com/mjrichardson/teamCity/buildTriggers/ApiProjectsResponseTest.java index e137c33..2cedccf 100644 --- a/octopus-build-trigger-server/src/test/java/com/mjrichardson/teamCity/buildTriggers/ApiProjectsResponseTest.java +++ b/octopus-build-trigger-server/src/test/java/com/mjrichardson/teamCity/buildTriggers/ApiProjectsResponseTest.java @@ -13,7 +13,7 @@ public void can_parse_projects_response() throws IOException, ParseException { ApiProjectsResponse sut = new ApiProjectsResponse(json); Assert.assertFalse(sut.projects.isEmpty()); - Assert.assertEquals(sut.projects.size(), 8); + Assert.assertEquals(sut.projects.size(), 9); Project[] array = sut.projects.toArray(); Assert.assertEquals(array[0].id, "Projects-24"); Assert.assertEquals(array[0].progressionApiLink, "/api/progression/Projects-24");