mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Merge pull request #349 from fnproject/pagination
add pagination to all list endpoints
This commit is contained in:
@@ -26,24 +26,6 @@ func TestCalls(t *testing.T) {
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("list-calls-for-missing-route", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
s := SetupDefaultSuite()
|
||||
CreateApp(t, s.Context, s.Client, s.AppName, map[string]string{})
|
||||
|
||||
cfg := &call.GetAppsAppCallsParams{
|
||||
App: s.AppName,
|
||||
Route: &s.RoutePath,
|
||||
Context: s.Context,
|
||||
}
|
||||
_, err := s.Client.Call.GetAppsAppCalls(cfg)
|
||||
if err == nil {
|
||||
t.Errorf("Must fail with missing route error, but got %s", err)
|
||||
}
|
||||
|
||||
DeleteApp(t, s.Context, s.Client, s.AppName)
|
||||
})
|
||||
|
||||
t.Run("get-dummy-call", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
s := SetupDefaultSuite()
|
||||
|
||||
Reference in New Issue
Block a user