diff --git a/tests/lib/thrift/ThriftTest/CMakeLists.txt b/tests/modules/thrift/ThriftTest/CMakeLists.txt similarity index 100% rename from tests/lib/thrift/ThriftTest/CMakeLists.txt rename to tests/modules/thrift/ThriftTest/CMakeLists.txt diff --git a/tests/lib/thrift/ThriftTest/Kconfig b/tests/modules/thrift/ThriftTest/Kconfig similarity index 100% rename from tests/lib/thrift/ThriftTest/Kconfig rename to tests/modules/thrift/ThriftTest/Kconfig diff --git a/tests/lib/thrift/ThriftTest/overlay-tls.conf b/tests/modules/thrift/ThriftTest/overlay-tls.conf similarity index 100% rename from tests/lib/thrift/ThriftTest/overlay-tls.conf rename to tests/modules/thrift/ThriftTest/overlay-tls.conf diff --git a/tests/lib/thrift/ThriftTest/prj.conf b/tests/modules/thrift/ThriftTest/prj.conf similarity index 100% rename from tests/lib/thrift/ThriftTest/prj.conf rename to tests/modules/thrift/ThriftTest/prj.conf diff --git a/tests/lib/thrift/ThriftTest/src/client.cpp b/tests/modules/thrift/ThriftTest/src/client.cpp similarity index 100% rename from tests/lib/thrift/ThriftTest/src/client.cpp rename to tests/modules/thrift/ThriftTest/src/client.cpp diff --git a/tests/lib/thrift/ThriftTest/src/context.hpp b/tests/modules/thrift/ThriftTest/src/context.hpp similarity index 100% rename from tests/lib/thrift/ThriftTest/src/context.hpp rename to tests/modules/thrift/ThriftTest/src/context.hpp diff --git a/tests/lib/thrift/ThriftTest/src/main.cpp b/tests/modules/thrift/ThriftTest/src/main.cpp similarity index 100% rename from tests/lib/thrift/ThriftTest/src/main.cpp rename to tests/modules/thrift/ThriftTest/src/main.cpp diff --git a/tests/lib/thrift/ThriftTest/src/server.hpp b/tests/modules/thrift/ThriftTest/src/server.hpp similarity index 100% rename from tests/lib/thrift/ThriftTest/src/server.hpp rename to tests/modules/thrift/ThriftTest/src/server.hpp diff --git a/tests/lib/thrift/ThriftTest/testcase.yaml b/tests/modules/thrift/ThriftTest/testcase.yaml similarity index 100% rename from tests/lib/thrift/ThriftTest/testcase.yaml rename to tests/modules/thrift/ThriftTest/testcase.yaml