From 0fa30fab6e06efbb826128f81fa1272ae6daa080 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Tue, 7 Nov 2017 17:04:27 -0500 Subject: [PATCH] Fox daap_connection_new_test Signed-off-by: W. Michael Petullo --- libdmapsharing/daap-connection.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libdmapsharing/daap-connection.c b/libdmapsharing/daap-connection.c index 2f90472..0096869 100644 --- a/libdmapsharing/daap-connection.c +++ b/libdmapsharing/daap-connection.c @@ -226,8 +226,8 @@ START_TEST(daap_connection_new_test) DAAPConnection *connection = daap_connection_new("foo", "foo.example.com", 3689, - 0xdeadbeef, - 0xfeedface); + NULL, + NULL); g_object_get(connection, "name", &str, NULL); ck_assert_str_eq("foo", str); @@ -239,10 +239,10 @@ START_TEST(daap_connection_new_test) ck_assert_int_eq(3689, port); g_object_get(connection, "db", &db, NULL); - ck_assert(0xdeadbeef == db); + ck_assert(NULL == db); g_object_get(connection, "factory", &factory, NULL); - ck_assert(0xfeedface == factory); + ck_assert(NULL == factory); g_object_unref(connection); } -- GitLab