Skip to content
Snippets Groups Projects
Commit 46983869 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix rate limit disabling in ci and match upload content in new synapse

parent 4e21d1bc
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@ $CMD perl -pi -w -e \
(
cat <<HEREDOC
rc_message:
per_second: 10000
burst_count: 100000
......
......@@ -63,7 +63,10 @@ TEST(MediaAPI, UploadTextFile)
RequestErr err) {
ASSERT_FALSE(err);
EXPECT_EQ(data, text);
EXPECT_EQ(content_type, "text/plain");
EXPECT_EQ(
content_type.substr(
0, std::size("text/plain") - 1),
"text/plain");
EXPECT_EQ(original_filename,
"doc.txt");
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment