Skip to content

Commit

Permalink
Merge pull request #670 from ToutPetitAdrien/master
Browse files Browse the repository at this point in the history
Removing duplicated test case
  • Loading branch information
foxcpp committed Jan 26, 2024
2 parents 59d9435 + 7ce4e6a commit d8232a4
Showing 1 changed file with 7 additions and 25 deletions.
32 changes: 7 additions & 25 deletions internal/dmarc/evaluate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,24 +315,6 @@ func TestEvaluateAlignment(t *testing.T) {
output: authres.ResultFail,
},
{ // 16
fromDomain: "example.com",
record: &Record{
SPFAlignment: dmarc.AlignmentStrict,
},
results: []authres.Result{
&authres.SPFResult{
Value: authres.ResultPass,
From: "",
Helo: "mx.example.com",
},
&authres.DKIMResult{
Value: authres.ResultNone,
Domain: "example.org",
},
},
output: authres.ResultFail,
},
{ // 17
fromDomain: "example.com",
record: &Record{},
results: []authres.Result{
Expand All @@ -348,7 +330,7 @@ func TestEvaluateAlignment(t *testing.T) {
},
output: authres.ResultTempError,
},
{ // 18
{ // 17
fromDomain: "example.com",
record: &Record{},
results: []authres.Result{
Expand All @@ -364,7 +346,7 @@ func TestEvaluateAlignment(t *testing.T) {
},
output: authres.ResultTempError,
},
{ // 19
{ // 18
fromDomain: "example.com",
record: &Record{},
results: []authres.Result{
Expand All @@ -380,7 +362,7 @@ func TestEvaluateAlignment(t *testing.T) {
},
output: authres.ResultPass,
},
{ // 20
{ // 19
fromDomain: "example.com",
record: &Record{},
results: []authres.Result{
Expand All @@ -396,7 +378,7 @@ func TestEvaluateAlignment(t *testing.T) {
},
output: authres.ResultPass,
},
{ // 21
{ // 20
fromDomain: "example.org",
record: &Record{},
results: []authres.Result{
Expand All @@ -416,7 +398,7 @@ func TestEvaluateAlignment(t *testing.T) {
},
output: authres.ResultPass,
},
{ // 22
{ // 21
fromDomain: "example.org",
record: &Record{},
results: []authres.Result{
Expand All @@ -436,7 +418,7 @@ func TestEvaluateAlignment(t *testing.T) {
},
output: authres.ResultTempError,
},
{ // 23
{ // 22
fromDomain: "example.org",
record: &Record{},
results: []authres.Result{
Expand All @@ -452,7 +434,7 @@ func TestEvaluateAlignment(t *testing.T) {
},
output: authres.ResultFail,
},
{ // 21
{ // 23
fromDomain: "sub.example.org",
record: &Record{},
results: []authres.Result{
Expand Down

0 comments on commit d8232a4

Please sign in to comment.