test: fix test content types

This commit is contained in:
James Houlahan
2020-08-05 10:57:44 +02:00
parent 64fbd0655f
commit 33d705a39d
2 changed files with 15 additions and 11 deletions

View File

@ -56,7 +56,7 @@ func TestPreferencesBuilder(t *testing.T) {
wantEncrypt: true,
wantSign: true,
wantScheme: pmapi.InternalPackage,
wantMIMEType: "multipart/mixed",
wantMIMEType: "text/html",
wantPublicKey: testPublicKey,
},
@ -71,7 +71,7 @@ func TestPreferencesBuilder(t *testing.T) {
wantEncrypt: true,
wantSign: true,
wantScheme: pmapi.InternalPackage,
wantMIMEType: "multipart/mixed",
wantMIMEType: "text/plain",
wantPublicKey: testPublicKey,
},
@ -86,7 +86,7 @@ func TestPreferencesBuilder(t *testing.T) {
wantEncrypt: true,
wantSign: true,
wantScheme: pmapi.InternalPackage,
wantMIMEType: "multipart/mixed",
wantMIMEType: "text/html",
wantPublicKey: testPublicKey,
},
@ -102,7 +102,7 @@ func TestPreferencesBuilder(t *testing.T) {
wantEncrypt: true,
wantSign: true,
wantScheme: pmapi.InternalPackage,
wantMIMEType: "multipart/mixed",
wantMIMEType: "text/html",
wantPublicKey: testPublicKey,
},