File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,11 @@ func TestAgentsRead(t *testing.T) {
3333 assert .Equal (t , agent , k )
3434 })
3535
36- // NOTE!! Commenting out test to unblock PRs pending a fix in the API.
37- // Please re-enable once the API is fixed.
38- // t.Run("when the agent does not exist", func(t *testing.T) {
39- // k, err := client.Agents.Read(ctx, "nonexistent")
40- // assert.Nil(t, k)
41- // assert.Equal(t, err, ErrResourceNotFound)
42- // })
36+ t .Run ("when the agent does not exist" , func (t * testing.T ) {
37+ k , err := client .Agents .Read (ctx , "nonexistent" )
38+ assert .Nil (t , k )
39+ assert .Equal (t , err , ErrResourceNotFound )
40+ })
4341
4442 t .Run ("without a valid agent ID" , func (t * testing.T ) {
4543 k , err := client .Agents .Read (ctx , badIdentifier )
You can’t perform that action at this time.
0 commit comments