You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/05/24 21:52:55 UTC

[GitHub] mitchell852 closed pull request #2330: TO GO unit tests: request change from submitted to complete is valid

mitchell852 closed pull request #2330: TO GO unit tests: request change from submitted to complete is valid
URL: https://github.com/apache/incubator-trafficcontrol/pull/2330
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/lib/go-tc/deliveryservice_requests_test.go b/lib/go-tc/deliveryservice_requests_test.go
index d703a647f..ab9e00666 100644
--- a/lib/go-tc/deliveryservice_requests_test.go
+++ b/lib/go-tc/deliveryservice_requests_test.go
@@ -53,7 +53,7 @@ func TestStatusTransition(t *testing.T) {
 	var validTests = [][]error{
 		// To:  Dra  Sub  Rej  Pen  Com   // From:
 		[]error{nil, nil, bad, bad, bad}, // Draft
-		[]error{nil, nil, nil, nil, bad}, // Submitted
+		[]error{nil, nil, nil, nil, nil}, // Submitted
 		[]error{bad, bad, bad, bad, bad}, // Rejected
 		[]error{bad, bad, bad, nil, nil}, // Pending
 		[]error{bad, bad, bad, bad, bad}, // Complete


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services