Skip to content

Commit 87f4def

Browse files
committed
Remove the comment from test func of username-by-id
The comment no longer makes sense for the unit-test func Test_UsernameByID. It was copied over by mistake.
1 parent ed289cc commit 87f4def

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

internal/posts/posts_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ func Test_UsernameByID(t *testing.T) {
5555
defer pool.Close()
5656

5757
testutils.ResetAndTestTx(t, pool, func(ctx context.Context, tx pgx.Tx) {
58-
59-
// before insert need to encrypt password, but it’s a private func
60-
// meaning i need to create an acct object
6158
dummyAcct := accts.Account{
6259
Fname: "demo",
6360
Lname: "man",

0 commit comments

Comments
 (0)