summaryrefslogtreecommitdiff
path: root/tests/roles-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roles-test.c')
-rw-r--r--tests/roles-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/roles-test.c b/tests/roles-test.c
index c7d175b9..09cc1554 100644
--- a/tests/roles-test.c
+++ b/tests/roles-test.c
@@ -91,7 +91,7 @@ TEST(test_role_conflict_sub_wlshell)
struct wl_shell *shell;
struct wl_shell_surface *shsurf;
- client = client_create(100, 50, 123, 77);
+ client = create_client_and_test_surface(100, 50, 123, 77);
assert(client);
subco = get_subcompositor(client);
@@ -119,7 +119,7 @@ TEST(test_role_conflict_wlshell_sub)
struct wl_shell *shell;
struct wl_shell_surface *shsurf;
- client = client_create(100, 50, 123, 77);
+ client = create_client_and_test_surface(100, 50, 123, 77);
assert(client);
subco = get_subcompositor(client);