77 lines
3.1 KiB
Go
77 lines
3.1 KiB
Go
// Code generated by SQLBoiler 4.19.5 (https://github.com/aarondl/sqlboiler). DO NOT EDIT.
|
|
// This file is meant to be re-generated in place and/or deleted at any time.
|
|
|
|
package models
|
|
|
|
import "testing"
|
|
|
|
// TestToOne tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestToOne(t *testing.T) {
|
|
t.Run("AccessTokenToUserUsingUser", testAccessTokenToOneUserUsingUser)
|
|
t.Run("AppUserProfileToUserUsingUser", testAppUserProfileToOneUserUsingUser)
|
|
t.Run("ConfirmationTokenToUserUsingUser", testConfirmationTokenToOneUserUsingUser)
|
|
t.Run("PasswordResetTokenToUserUsingUser", testPasswordResetTokenToOneUserUsingUser)
|
|
t.Run("PushTokenToUserUsingUser", testPushTokenToOneUserUsingUser)
|
|
t.Run("RefreshTokenToUserUsingUser", testRefreshTokenToOneUserUsingUser)
|
|
}
|
|
|
|
// TestOneToOne tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestOneToOne(t *testing.T) {
|
|
t.Run("UserToAppUserProfileUsingAppUserProfile", testUserOneToOneAppUserProfileUsingAppUserProfile)
|
|
}
|
|
|
|
// TestToMany tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestToMany(t *testing.T) {
|
|
t.Run("UserToAccessTokens", testUserToManyAccessTokens)
|
|
t.Run("UserToConfirmationTokens", testUserToManyConfirmationTokens)
|
|
t.Run("UserToPasswordResetTokens", testUserToManyPasswordResetTokens)
|
|
t.Run("UserToPushTokens", testUserToManyPushTokens)
|
|
t.Run("UserToRefreshTokens", testUserToManyRefreshTokens)
|
|
}
|
|
|
|
// TestToOneSet tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestToOneSet(t *testing.T) {
|
|
t.Run("AccessTokenToUserUsingAccessTokens", testAccessTokenToOneSetOpUserUsingUser)
|
|
t.Run("AppUserProfileToUserUsingAppUserProfile", testAppUserProfileToOneSetOpUserUsingUser)
|
|
t.Run("ConfirmationTokenToUserUsingConfirmationTokens", testConfirmationTokenToOneSetOpUserUsingUser)
|
|
t.Run("PasswordResetTokenToUserUsingPasswordResetTokens", testPasswordResetTokenToOneSetOpUserUsingUser)
|
|
t.Run("PushTokenToUserUsingPushTokens", testPushTokenToOneSetOpUserUsingUser)
|
|
t.Run("RefreshTokenToUserUsingRefreshTokens", testRefreshTokenToOneSetOpUserUsingUser)
|
|
}
|
|
|
|
// TestToOneRemove tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestToOneRemove(t *testing.T) {}
|
|
|
|
// TestOneToOneSet tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestOneToOneSet(t *testing.T) {
|
|
t.Run("UserToAppUserProfileUsingAppUserProfile", testUserOneToOneSetOpAppUserProfileUsingAppUserProfile)
|
|
}
|
|
|
|
// TestOneToOneRemove tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestOneToOneRemove(t *testing.T) {}
|
|
|
|
// TestToManyAdd tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestToManyAdd(t *testing.T) {
|
|
t.Run("UserToAccessTokens", testUserToManyAddOpAccessTokens)
|
|
t.Run("UserToConfirmationTokens", testUserToManyAddOpConfirmationTokens)
|
|
t.Run("UserToPasswordResetTokens", testUserToManyAddOpPasswordResetTokens)
|
|
t.Run("UserToPushTokens", testUserToManyAddOpPushTokens)
|
|
t.Run("UserToRefreshTokens", testUserToManyAddOpRefreshTokens)
|
|
}
|
|
|
|
// TestToManySet tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestToManySet(t *testing.T) {}
|
|
|
|
// TestToManyRemove tests cannot be run in parallel
|
|
// or deadlocks can occur.
|
|
func TestToManyRemove(t *testing.T) {}
|