We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 157f707 commit 7d6ded3Copy full SHA for 7d6ded3
tests/sql_injection_test.go
@@ -104,6 +104,7 @@ func TestRawQueryInjection(t *testing.T) {
104
}
105
DB.Migrator().DropTable(&TestUser{})
106
107
+
108
func TestWhereClauseInjection(t *testing.T) {
109
if err := DB.AutoMigrate(&TestUser{}); err != nil {
110
t.Errorf("failed to create test table: %v", err)
0 commit comments