File: account_agreements_test.go

package info (click to toggle)
golang-github-linode-linodego 1.55.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,112 kB
  • sloc: makefile: 96; sh: 52; python: 24
file content (16 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package integration

import (
	"context"
	"testing"
)

func TestAccountAgreements_Get(t *testing.T) {
	client, fixtureTeardown := createTestClient(t, "fixtures/TestAccountAgreements_List")
	defer fixtureTeardown()

	_, err := client.GetAccountAgreements(context.Background())
	if err != nil {
		t.Errorf("Error getting agreements, expected struct, got error %v", err)
	}
}