Skip to content

Commit 124ba05

Browse files
committed
Removed dead code and ISSUE readme as they are not needed anymore
1 parent 40fcd40 commit 124ba05

File tree

4 files changed

+3
-76
lines changed

4 files changed

+3
-76
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
coverage.out
22
.idea
3-
*.iml
3+
*.iml
4+
.vscode

ISSUE_FIX.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

migrations/migrations_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ import (
1414
"gorm.io/gorm/schema"
1515
)
1616

17-
// func TestMain(m *testing.M) {
18-
// tests.SetupPostgresContainer()
19-
// code := m.Run()
20-
// tests.TeardownPostgresContainer()
21-
// os.Exit(code)
22-
// }
23-
2417
func TestRunMigrations(t *testing.T) {
2518
gormDB, TeardownPostgresContainer := tests.SetupPostgresContainer()
2619
defer TeardownPostgresContainer()

mocks/kafka_password_delivery_service.go

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package mocks
22

33
import (
44
"context"
5+
56
"github.com/stretchr/testify/mock"
67

78
"github.com/segmentio/kafka-go"
@@ -19,14 +20,3 @@ func (m *MockProducer) WriteMessages(ctx context.Context, msgs ...kafka.Message)
1920
func (m *MockProducer) Close() error {
2021
return nil
2122
}
22-
23-
//type MockKafkaPasswordDeliveryService struct {
24-
// mock.Mock
25-
// Producer *MockKafkaWriter
26-
// Topic string
27-
//}
28-
//
29-
//func (m *MockKafkaPasswordDeliveryService) SendPassword(email, firstName, middleName, lastName, password string) error {
30-
// args := m.Called(email, firstName, middleName, lastName, password)
31-
// return args.Error(0)
32-
//}

0 commit comments

Comments
 (0)