From 1a63ff78bd522880b57b9b1e05c3cab2cb3e7fe7 Mon Sep 17 00:00:00 2001 From: Adrian Holmes Date: Sun, 5 Jun 2016 12:00:32 +0100 Subject: [PATCH 1/2] Add missing colours Sky, Lime, Pink and Black were missing. --- TrelloNet/Cards/Color.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/TrelloNet/Cards/Color.cs b/TrelloNet/Cards/Color.cs index c6a312c..ad0dfee 100644 --- a/TrelloNet/Cards/Color.cs +++ b/TrelloNet/Cards/Color.cs @@ -7,6 +7,10 @@ public enum Color Orange, Red, Purple, - Blue + Blue, + Sky, + Lime, + Pink, + Black } -} \ No newline at end of file +} From 0193839338179b7c664de361f910bd51943b0c56 Mon Sep 17 00:00:00 2001 From: Adrian Holmes Date: Sun, 5 Jun 2016 12:22:37 +0100 Subject: [PATCH 2/2] Include missing colours in failing test --- TrelloNet.Tests/SearchTests.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/TrelloNet.Tests/SearchTests.cs b/TrelloNet.Tests/SearchTests.cs index bc566cc..75a4cf6 100644 --- a/TrelloNet.Tests/SearchTests.cs +++ b/TrelloNet.Tests/SearchTests.cs @@ -62,12 +62,16 @@ public void Search_WithTestQuery_ReturnsCorrectBoard() }, LabelNames = new Dictionary { + { Color.Green, "" }, { Color.Yellow, "" }, + { Color.Orange, "" }, { Color.Red, "" }, { Color.Purple, "" }, - { Color.Orange, "" }, - { Color.Green, "label name" }, { Color.Blue, "" }, + { Color.Sky, "" }, + { Color.Lime, "" }, + { Color.Pink, "" }, + { Color.Black, "" } } }.ToExpectedObject(); @@ -168,4 +172,4 @@ public void Search_WithTestQuery_ReturnsCorrectOrganization() expected.ShouldEqual(actual); } } -} \ No newline at end of file +}