[folks] tests: Use errors instead of warnings in link-personas



commit f4a1d69dac40de54f4d2491d7287b2789e61f846
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Mar 4 13:09:26 2015 +0000

    tests: Use errors instead of warnings in link-personas

 tests/eds/link-personas.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/eds/link-personas.vala b/tests/eds/link-personas.vala
index 47b2df9..05dc804 100644
--- a/tests/eds/link-personas.vala
+++ b/tests/eds/link-personas.vala
@@ -140,7 +140,7 @@ public class LinkPersonasTests : EdsTest.TestCase
         }
       catch (GLib.Error e)
         {
-          GLib.warning ("Error when calling prepare: %s\n", e.message);
+          GLib.error ("Error when calling prepare: %s\n", e.message);
         }
     }
 
@@ -263,7 +263,7 @@ public class LinkPersonasTests : EdsTest.TestCase
         }
       catch (Folks.IndividualAggregatorError e)
         {
-          GLib.warning ("[AddPersonaError] add_persona_from_details: %s\n",
+          GLib.error ("[AddPersonaError] add_persona_from_details: %s\n",
               e.message);
         }
     }
@@ -422,7 +422,7 @@ public class LinkPersonasTests : EdsTest.TestCase
             }
           catch (GLib.Error e)
             {
-              GLib.warning ("link_personas: %s\n", e.message);
+              GLib.error ("link_personas: %s\n", e.message);
             }
         }
     }


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