File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -349,13 +349,13 @@ func TestCountryListUpdate(t *testing.T) {
349349}
350350
351351var listListsString = strings .TrimSpace (`
352- ID Name Description Type Scope Entries Created At
353- someListID listName NGWAFCLIList country account us 2021-06-15 23:00:00 +0000 UTC
354- someListID2 listName2 NGWAFCLIList2 country account us 2021-06-15 23:00:00 +0000 UTC
352+ ID Name Description Type Scope Entries Updated At Created At
353+ someListID listName NGWAFCLIList country account us 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
354+ someListID2 listName2 NGWAFCLIList2 country account us 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
355355` ) + "\n "
356356
357357var zeroListString = strings .TrimSpace (`
358- ID Name Description Type Scope Entries Created At
358+ ID Name Description Type Scope Entries Updated At Created At
359359` ) + "\n "
360360
361361var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change @@ -349,13 +349,13 @@ func TestIPListUpdate(t *testing.T) {
349349}
350350
351351var listListsString = strings .TrimSpace (`
352- ID Name Description Type Scope Entries Created At
353- someListID listName NGWAFCLIList ip account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
354- someListID2 listName2 NGWAFCLIList2 ip account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
352+ ID Name Description Type Scope Entries Updated At Created At
353+ someListID listName NGWAFCLIList ip account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
354+ someListID2 listName2 NGWAFCLIList2 ip account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
355355` ) + "\n "
356356
357357var zeroListString = strings .TrimSpace (`
358- ID Name Description Type Scope Entries Created At
358+ ID Name Description Type Scope Entries Updated At Created At
359359` ) + "\n "
360360
361361var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change @@ -349,13 +349,13 @@ func TestSignalListUpdate(t *testing.T) {
349349}
350350
351351var listListsString = strings .TrimSpace (`
352- ID Name Description Type Scope Entries Created At
353- someListID listName NGWAFCLIList signal account BHH 2021-06-15 23:00:00 +0000 UTC
354- someListID2 listName2 NGWAFCLIList2 signal account BHH 2021-06-15 23:00:00 +0000 UTC
352+ ID Name Description Type Scope Entries Updated At Created At
353+ someListID listName NGWAFCLIList signal account BHH 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
354+ someListID2 listName2 NGWAFCLIList2 signal account BHH 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
355355` ) + "\n "
356356
357357var zeroListString = strings .TrimSpace (`
358- ID Name Description Type Scope Entries Created At
358+ ID Name Description Type Scope Entries Updated At Created At
359359` ) + "\n "
360360
361361var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change @@ -349,13 +349,13 @@ func TestStringListUpdate(t *testing.T) {
349349}
350350
351351var listListsString = strings .TrimSpace (`
352- ID Name Description Type Scope Entries Created At
353- someListID listName NGWAFCLIList string account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
354- someListID2 listName2 NGWAFCLIList2 string account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
352+ ID Name Description Type Scope Entries Updated At Created At
353+ someListID listName NGWAFCLIList string account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
354+ someListID2 listName2 NGWAFCLIList2 string account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
355355` ) + "\n "
356356
357357var zeroListString = strings .TrimSpace (`
358- ID Name Description Type Scope Entries Created At
358+ ID Name Description Type Scope Entries Updated At Created At
359359` ) + "\n "
360360
361361var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change @@ -349,13 +349,13 @@ func TestWildcardListUpdate(t *testing.T) {
349349}
350350
351351var listListsString = strings .TrimSpace (`
352- ID Name Description Type Scope Entries Created At
353- someListID listName NGWAFCLIList wildcard account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
354- someListID2 listName2 NGWAFCLIList2 wildcard account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
352+ ID Name Description Type Scope Entries Updated At Created At
353+ someListID listName NGWAFCLIList wildcard account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
354+ someListID2 listName2 NGWAFCLIList2 wildcard account 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
355355` ) + "\n "
356356
357357var zeroListString = strings .TrimSpace (`
358- ID Name Description Type Scope Entries Created At
358+ ID Name Description Type Scope Entries Updated At Created At
359359` ) + "\n "
360360
361361var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change @@ -376,13 +376,13 @@ func TestCountryListUpdate(t *testing.T) {
376376}
377377
378378var listListsString = strings .TrimSpace (`
379- ID Name Description Type Scope Entries Created At
380- someListID listName NGWAFCLIList country workspace us 2021-06-15 23:00:00 +0000 UTC
381- someListID2 listName2 NGWAFCLIList2 country workspace us 2021-06-15 23:00:00 +0000 UTC
379+ ID Name Description Type Scope Entries Updated At Created At
380+ someListID listName NGWAFCLIList country workspace us 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
381+ someListID2 listName2 NGWAFCLIList2 country workspace us 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
382382` ) + "\n "
383383
384384var zeroListString = strings .TrimSpace (`
385- ID Name Description Type Scope Entries Created At
385+ ID Name Description Type Scope Entries Updated At Created At
386386` ) + "\n "
387387
388388var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change @@ -376,13 +376,13 @@ func TestIPListUpdate(t *testing.T) {
376376}
377377
378378var listListsString = strings .TrimSpace (`
379- ID Name Description Type Scope Entries Created At
380- someListID listName NGWAFCLIList ip workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
381- someListID2 listName2 NGWAFCLIList2 ip workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
379+ ID Name Description Type Scope Entries Updated At Created At
380+ someListID listName NGWAFCLIList ip workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
381+ someListID2 listName2 NGWAFCLIList2 ip workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
382382` ) + "\n "
383383
384384var zeroListString = strings .TrimSpace (`
385- ID Name Description Type Scope Entries Created At
385+ ID Name Description Type Scope Entries Updated At Created At
386386` ) + "\n "
387387
388388var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change @@ -376,13 +376,13 @@ func TestSignalListUpdate(t *testing.T) {
376376}
377377
378378var listListsString = strings .TrimSpace (`
379- ID Name Description Type Scope Entries Created At
380- someListID listName NGWAFCLIList signal workspace BHH 2021-06-15 23:00:00 +0000 UTC
381- someListID2 listName2 NGWAFCLIList2 signal workspace BHH 2021-06-15 23:00:00 +0000 UTC
379+ ID Name Description Type Scope Entries Updated At Created At
380+ someListID listName NGWAFCLIList signal workspace BHH 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
381+ someListID2 listName2 NGWAFCLIList2 signal workspace BHH 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
382382` ) + "\n "
383383
384384var zeroListString = strings .TrimSpace (`
385- ID Name Description Type Scope Entries Created At
385+ ID Name Description Type Scope Entries Updated At Created At
386386` ) + "\n "
387387
388388var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change 99 "testing"
1010
1111 root "github.com/fastly/cli/pkg/commands/ngwaf"
12- sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace"
1312 sub2 "github.com/fastly/cli/pkg/commands/ngwaf/stringlist"
13+ sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace"
1414 fstfmt "github.com/fastly/cli/pkg/fmt"
1515 "github.com/fastly/cli/pkg/testutil"
1616 "github.com/fastly/go-fastly/v12/fastly/ngwaf/v1/lists"
@@ -376,13 +376,13 @@ func TestStringListUpdate(t *testing.T) {
376376}
377377
378378var listListsString = strings .TrimSpace (`
379- ID Name Description Type Scope Entries Created At
380- someListID listName NGWAFCLIList string workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
381- someListID2 listName2 NGWAFCLIList2 string workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
379+ ID Name Description Type Scope Entries Updated At Created At
380+ someListID listName NGWAFCLIList string workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
381+ someListID2 listName2 NGWAFCLIList2 string workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
382382` ) + "\n "
383383
384384var zeroListString = strings .TrimSpace (`
385- ID Name Description Type Scope Entries Created At
385+ ID Name Description Type Scope Entries Updated At Created At
386386` ) + "\n "
387387
388388var listString = strings .TrimSpace (`
Original file line number Diff line number Diff line change @@ -376,13 +376,13 @@ func TestWildcardListUpdate(t *testing.T) {
376376}
377377
378378var listListsString = strings .TrimSpace (`
379- ID Name Description Type Scope Entries Created At
380- someListID listName NGWAFCLIList wildcard workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
381- someListID2 listName2 NGWAFCLIList2 wildcard workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC
379+ ID Name Description Type Scope Entries Updated At Created At
380+ someListID listName NGWAFCLIList wildcard workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
381+ someListID2 listName2 NGWAFCLIList2 wildcard workspace 1.0.0.0 2021-06-15 23:00:00 +0000 UTC 2021-06-15 23:00:00 +0000 UTC
382382` ) + "\n "
383383
384384var zeroListString = strings .TrimSpace (`
385- ID Name Description Type Scope Entries Created At
385+ ID Name Description Type Scope Entries Updated At Created At
386386` ) + "\n "
387387
388388var listString = strings .TrimSpace (`
You can’t perform that action at this time.
0 commit comments