]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Make the daemon test compile again
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jun 2025 13:20:19 +0000 (13:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jun 2025 13:20:19 +0000 (13:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/daemon.c

index 6b031826d5db7618b06210b19baca153cbd3ee1d..90afe90c4832c5313bf8fb982981a5947373ec02 100644 (file)
 
 static int test_daemon(const struct test* t) {
        struct pakfire_daemon* daemon = NULL;
-       const char* url = NULL;
        int r = EXIT_FAILURE;
 
        // We can only create the daemon
        ASSERT_SUCCESS(pakfire_daemon_create(&daemon, t->ctx));
 
-       // Fetch the URL
-       ASSERT(url = pakfire_daemon_url(daemon));
-       ASSERT_STRING_EQUALS(url, "https://pakfire.ipfire.org/");
-
        // Everything passed
        r = EXIT_SUCCESS;