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



commit b119603ac209e12bbe32e18564cf0e28499214ff
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]