provide a way to run app
This commit is contained in:
@ -22,7 +22,7 @@ func prepareEssentials(t testing.TB) (*mock.MockedStore, *slog.Logger) {
|
||||
return mock.NewMock(), log
|
||||
}
|
||||
|
||||
func TestList(t *testing.T) {
|
||||
func TestListSuccess(t *testing.T) {
|
||||
require := require.New(t)
|
||||
store, log := prepareEssentials(t)
|
||||
|
||||
@ -63,7 +63,7 @@ func TestList(t *testing.T) {
|
||||
require.ElementsMatch(stats, expectedStatistics)
|
||||
}
|
||||
|
||||
func TestUpsert(t *testing.T) {
|
||||
func TestUpsertSuccess(t *testing.T) {
|
||||
require := require.New(t)
|
||||
store, log := prepareEssentials(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user