diff --git a/tests/wp/test-server.h b/tests/common/test-server.h
similarity index 100%
rename from tests/wp/test-server.h
rename to tests/common/test-server.h
diff --git a/tests/modules/config-endpoint.c b/tests/modules/config-endpoint.c
index c3ea18d7d08f9c0f012ecd0c5595f347fabc2872..3f61e3b611539d279ddb47043f62a397b1ca26a4 100644
--- a/tests/modules/config-endpoint.c
+++ b/tests/modules/config-endpoint.c
@@ -11,7 +11,7 @@
 #include <wp/wp.h>
 
 #include "config-endpoint/endpoint-audiotestsrc.h"
-#include "../wp/test-server.h"
+#include "../common/test-server.h"
 #include "../../modules/module-config-endpoint/context.h"
 
 typedef struct {
diff --git a/tests/modules/config-policy.c b/tests/modules/config-policy.c
index f981aa8fc2296c43b053bb1202c5687714d4b97e..c2f06ef2a2ba584a11f665dbcbda9280e72a9602 100644
--- a/tests/modules/config-policy.c
+++ b/tests/modules/config-policy.c
@@ -11,7 +11,7 @@
 #include <wp/wp.h>
 
 #include "config-policy/context.h"
-#include "../wp/test-server.h"
+#include "../common/test-server.h"
 
 typedef struct {
   WpTestServer server;
diff --git a/tests/modules/config-static-nodes.c b/tests/modules/config-static-nodes.c
index b1a49ff007998af7b23191f7e4cf01dd7345bc73..c04e750256eca81ec28664e5b5e909b516666fc3 100644
--- a/tests/modules/config-static-nodes.c
+++ b/tests/modules/config-static-nodes.c
@@ -10,7 +10,7 @@
 
 #include <wp/wp.h>
 
-#include "../wp/test-server.h"
+#include "../common/test-server.h"
 #include "../../modules/module-config-static-nodes/context.h"
 
 typedef struct {
diff --git a/tests/wp/endpoint.c b/tests/wp/endpoint.c
index 1d0b04a5f72ca2fdb66de4680870deb691309de3..b3df220448def4b1c94643699ba9244d2b45764f 100644
--- a/tests/wp/endpoint.c
+++ b/tests/wp/endpoint.c
@@ -10,7 +10,7 @@
 #include <pipewire/pipewire.h>
 #include <pipewire/extensions/session-manager.h>
 
-#include "test-server.h"
+#include "../common/test-server.h"
 
 struct _TestSiEndpoint
 {
diff --git a/tests/wp/proxy.c b/tests/wp/proxy.c
index df311e0dfd60c5b85e5ead28037df08b41c6c97a..dc2cf4ca56bbd95cebe0694cb7e50bb3d5990af4 100644
--- a/tests/wp/proxy.c
+++ b/tests/wp/proxy.c
@@ -10,7 +10,7 @@
 #include <pipewire/pipewire.h>
 #include <spa/pod/iter.h>
 
-#include "test-server.h"
+#include "../common/test-server.h"
 
 typedef struct {
   /* the local pipewire server */
diff --git a/tests/wp/session.c b/tests/wp/session.c
index 5233dac6080c1afe2732a01e81ada352764ca3b8..491dc620903b3486c20d0ee19d2a901d6981687d 100644
--- a/tests/wp/session.c
+++ b/tests/wp/session.c
@@ -10,7 +10,7 @@
 #include <pipewire/pipewire.h>
 #include <pipewire/extensions/session-manager.h>
 
-#include "test-server.h"
+#include "../common/test-server.h"
 
 typedef struct {
   /* the local pipewire server */