aboutsummaryrefslogtreecommitdiffstats
path: root/tests/upload_files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/upload_files.rs')
-rw-r--r--tests/upload_files.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/upload_files.rs b/tests/upload_files.rs
index 7bd85df..35569cb 100644
--- a/tests/upload_files.rs
+++ b/tests/upload_files.rs
@@ -83,8 +83,8 @@ fn uploading_files_is_prevented(server: TestServer) -> Result<(), Error> {
// This test runs the server with --restrict-upload-dir argument and
// checks that file upload to a different directory is actually prevented.
#[rstest]
-#[case(server(&["-u", "--restrict-upload-dir", "someDir"]))]
-#[case(server(&["-u", "--restrict-upload-dir", "someDir/some_sub_dir"]))]
+#[case(server_no_stderr(&["-u", "--restrict-upload-dir", "someDir"]))]
+#[case(server_no_stderr(&["-u", "--restrict-upload-dir", "someDir/some_sub_dir"]))]
fn uploading_files_is_restricted(
#[case] server: TestServer
) -> Result<(), Error> {