Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Young Bu Park <youngp@microsoft.com>
  • Loading branch information
youngbupark committed Jan 24, 2024
1 parent 7e45ef1 commit 4dbcefc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/functional/shared/resources/application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ package resource_test

import (
"context"
"encoding/json"
"fmt"
"sort"
"testing"

Expand Down Expand Up @@ -269,6 +271,11 @@ func Test_ApplicationGraph(t *testing.T) {
return *res.ApplicationGraphResponse.Resources[i].ID < *res.ApplicationGraphResponse.Resources[j].ID
})

arr1, _ := json.Marshal(expectedGraphResp)
fmt.Println("expected: " + string(arr1))
arr2, _ := json.Marshal(res)
fmt.Println("actual: " + string(arr2))

require.Equal(t, expectedGraphResp, res)
},
},
Expand Down

0 comments on commit 4dbcefc

Please sign in to comment.