DEV: Remove duplicate test (#12989)

I think this test was duplicated on accident. We test for the
exact thing a few lines up.
This commit is contained in:
Blake Erickson 2021-05-07 15:34:14 -06:00 committed by GitHub
parent 225c0d2d96
commit 23de5e959e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -478,14 +478,6 @@ RSpec.describe UploadCreator do
end
end
context "if the upload is for a PM" do
let(:opts) { { for_private_message: true } }
it "sets the upload to secure and sets the original_sha1" do
expect(result.secure).to eq(true)
expect(result.original_sha1).not_to eq(nil)
end
end
context "if SiteSetting.login_required" do
before do
SiteSetting.login_required = true