Skip to content

Commit f17668a

Browse files
committed
Revert "Make all tests run in insecure mode"
This reverts commit 4e2c6a5. The preceding commit makes this work out. Closes #117.
1 parent afd32ca commit f17668a

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

testing/main_test.go

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -369,12 +369,7 @@ FROM
369369
}
370370

371371
func TestGORM(t *testing.T) {
372-
testORM(t, testInfo{
373-
language: "go",
374-
orm: "gorm",
375-
// TODO(rafi): Test secure mode. See https://github.com/cockroachdb/examples-orms/issues/117)
376-
insecure: true,
377-
})
372+
testORM(t, testInfo{language: "go", orm: "gorm"})
378373
}
379374

380375
func TestGOPG(t *testing.T) {
@@ -414,8 +409,6 @@ func TestSQLAlchemy(t *testing.T) {
414409
testORM(t, testInfo{
415410
language: "python",
416411
orm: "sqlalchemy",
417-
// TODO(rafi): Test secure mode. See https://github.com/cockroachdb/examples-orms/issues/117)
418-
insecure: true,
419412
})
420413
}
421414

@@ -432,19 +425,9 @@ func TestDjango(t *testing.T) {
432425
}
433426

434427
func TestActiveRecord(t *testing.T) {
435-
testORM(t, testInfo{
436-
language: "ruby",
437-
orm: "activerecord",
438-
// TODO(rafi): Test secure mode. See https://github.com/cockroachdb/examples-orms/issues/117)
439-
insecure: true,
440-
})
428+
testORM(t, testInfo{language: "ruby", orm: "activerecord"})
441429
}
442430

443431
func TestActiveRecord4(t *testing.T) {
444-
testORM(t, testInfo{
445-
language: "ruby",
446-
orm: "ar4",
447-
// TODO(rafi): Test secure mode. See https://github.com/cockroachdb/examples-orms/issues/117)
448-
insecure: true,
449-
})
432+
testORM(t, testInfo{language: "ruby", orm: "ar4"})
450433
}

0 commit comments

Comments
 (0)