Exemplo n.º 1
0
func (s *UserListCommandSuite) newUserListCommand() cmd.Command {
	clock := &fakeClock{now: time.Date(2016, 9, 15, 12, 0, 0, 0, time.UTC)}
	api := &fakeUserListAPI{clock}
	return user.NewListCommandForTest(api, api, s.store, clock)
}
Exemplo n.º 2
0
func newUserListCommand() cmd.Command {
	return user.NewListCommandForTest(&fakeUserListAPI{})
}