[folks/648811-dummy-backend-rebase1] dummy: Don’t use deprecated API in unit tests



commit 1ac1c8062a5b171baaca87151f4dfe3f4d7b8ca0
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Nov 6 13:11:28 2013 +0000

    dummy: Don’t use deprecated API in unit tests

 tests/dummy/individual-retrieval.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/dummy/individual-retrieval.vala b/tests/dummy/individual-retrieval.vala
index a719917..b097dbe 100644
--- a/tests/dummy/individual-retrieval.vala
+++ b/tests/dummy/individual-retrieval.vala
@@ -114,7 +114,7 @@ public class IndividualRetrievalTests : DummyTest.TestCase
       expected_individuals.add ("Rodrigo A");
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var added = changes.get_values ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]