diff --git a/tests/test_session.c b/tests/test_session.c index a4656f7..88b54cb 100644 --- a/tests/test_session.c +++ b/tests/test_session.c @@ -5,8 +5,9 @@ #include "../zathura.h" START_TEST(test_create) { - zathura_t* zathura = zathura_init(0, NULL); + zathura_t* zathura = zathura_create(); fail_unless(zathura != NULL, "Could not create session", NULL); + fail_unless(zathura_init(zathura) == true, "Could not initialize session", NULL); zathura_free(zathura); } END_TEST