provide a way to run app

This commit is contained in:
2024-08-10 14:14:38 +03:00
parent ba6ac26bac
commit 0046755c7d
10 changed files with 468 additions and 168 deletions

View File

@ -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)