Skip to content

Commit

Permalink
fix: update simple test
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Jan 18, 2024
1 parent 74bd901 commit 19f90c1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions gno.land/pkg/gnoclient/client_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package gnoclient

import (
"fmt"
"testing"

"github.com/gnolang/gno/gno.land/pkg/integration"
Expand Down Expand Up @@ -44,11 +43,10 @@ func TestClient_Request(t *testing.T) {

data, res, err := client.Render("gno.land/r/demo/boards", "")
require.NoError(t, err)
require.NotEmpty(t, data)

// XXX: need more test
require.NotNil(t, res)
require.NotEmpty(t, res.Response.Data)

// XXX: need validation
fmt.Println("data:", data)
fmt.Println("res: ", res)
require.FailNow(t, "forcing failure: replace this by a real test")
// XXX: need more test
}

0 comments on commit 19f90c1

Please sign in to comment.