api: Remove warnings about types visibility in UI tests

This commit is contained in:
Kévin Commaille 2024-09-07 16:52:00 +02:00 committed by Kévin Commaille
parent 9203934fd7
commit 733ee0d12d

View File

@ -1,7 +1,7 @@
// This tests that the "body" fields are moved after all other fields because they
// consume the request/response.
mod newtype_body {
pub mod newtype_body {
use http::header::CONTENT_TYPE;
use ruma_common::{
api::{request, response, Metadata},
@ -47,7 +47,7 @@ mod newtype_body {
}
}
mod raw_body {
pub mod raw_body {
use http::header::CONTENT_TYPE;
use ruma_common::{
api::{request, response, Metadata},
@ -90,7 +90,7 @@ mod raw_body {
}
}
mod plain {
pub mod plain {
use http::header::CONTENT_TYPE;
use ruma_common::{
api::{request, response, Metadata},