[folks] Re-use the defined protocol prefix for tests.



commit c911b3a7dce4b564c72bafd21e972f091bdf5b00
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Fri Sep 3 17:51:31 2010 -0700

    Re-use the defined protocol prefix for tests.
    
    Helps bgo#629008.

 tests/telepathy/contact-retrieval.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/telepathy/contact-retrieval.vala b/tests/telepathy/contact-retrieval.vala
index 5905a9a..f3ff908 100644
--- a/tests/telepathy/contact-retrieval.vala
+++ b/tests/telepathy/contact-retrieval.vala
@@ -204,7 +204,7 @@ public class ContactRetrievalTests : Folks.TestCase
           foreach (Individual i in added)
             {
               /* We only check one */
-              if (i.id != "telepathy:protocol:olivier example com")
+              if (i.id != (this.individual_id_prefix + "olivier example com"))
                 {
                   continue;
                 }



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