Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
litsynp committed Jan 30, 2024
1 parent 7c9f97b commit 46627a2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions internal/domain/sos_post/tests/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ package tests

import (
"fmt"
"testing"
"time"

"github.com/pet-sitter/pets-next-door-api/internal/domain/media"
"github.com/pet-sitter/pets-next-door-api/internal/domain/pet"
"github.com/pet-sitter/pets-next-door-api/internal/domain/sos_post"
"github.com/pet-sitter/pets-next-door-api/internal/domain/user"
"github.com/pet-sitter/pets-next-door-api/internal/infra/database"
"github.com/pet-sitter/pets-next-door-api/internal/postgres"
"github.com/pet-sitter/pets-next-door-api/internal/tests"
"testing"
"time"
)

var db *database.DB
Expand Down Expand Up @@ -65,7 +66,7 @@ func TestSosPostService(t *testing.T) {
Email: "[email protected]",
Nickname: "nickname",
Fullname: "fullname",
ProfileImageID: profileImage.ID,
ProfileImageID: &profileImage.ID,
FirebaseProviderType: "kakao",
FirebaseUID: "1234",
})
Expand Down Expand Up @@ -206,7 +207,7 @@ func TestSosPostService(t *testing.T) {
Email: "[email protected]",
Nickname: "nickname",
Fullname: "fullname",
ProfileImageID: profileImage.ID,
ProfileImageID: &profileImage.ID,
FirebaseProviderType: "kakao",
FirebaseUID: "1234",
})
Expand Down Expand Up @@ -354,7 +355,7 @@ func TestSosPostService(t *testing.T) {
Email: "[email protected]",
Nickname: "nickname",
Fullname: "fullname",
ProfileImageID: profileImage.ID,
ProfileImageID: &profileImage.ID,
FirebaseProviderType: "kakao",
FirebaseUID: "1234",
})
Expand Down Expand Up @@ -502,7 +503,7 @@ func TestSosPostService(t *testing.T) {
Email: "[email protected]",
Nickname: "nickname",
Fullname: "fullname",
ProfileImageID: profileImage.ID,
ProfileImageID: &profileImage.ID,
FirebaseProviderType: "kakao",
FirebaseUID: "1234",
})
Expand Down Expand Up @@ -649,7 +650,7 @@ func TestSosPostService(t *testing.T) {
Email: "[email protected]",
Nickname: "nickname",
Fullname: "fullname",
ProfileImageID: profileImage.ID,
ProfileImageID: &profileImage.ID,
FirebaseProviderType: "kakao",
FirebaseUID: "1234",
})
Expand Down

0 comments on commit 46627a2

Please sign in to comment.