Skip to content

Commit 069e7a9

Browse files
authored
Merge pull request #118 from rafiss/insecure
Make all tests run in insecure mode
2 parents bb305f4 + 4e2c6a5 commit 069e7a9

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

testing/main_test.go

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,12 @@ func testORM(t *testing.T, info testInfo) {
351351
}
352352

353353
func TestGORM(t *testing.T) {
354-
testORM(t, testInfo{language: "go", orm: "gorm"})
354+
testORM(t, testInfo{
355+
language: "go",
356+
orm: "gorm",
357+
// TODO(rafi): Test secure mode. See https://github.com/cockroachdb/examples-orms/issues/117)
358+
insecure: true,
359+
})
355360
}
356361

357362
func TestGOPG(t *testing.T) {
@@ -391,6 +396,8 @@ func TestSQLAlchemy(t *testing.T) {
391396
testORM(t, testInfo{
392397
language: "python",
393398
orm: "sqlalchemy",
399+
// TODO(rafi): Test secure mode. See https://github.com/cockroachdb/examples-orms/issues/117)
400+
insecure: true,
394401
})
395402
}
396403

@@ -407,9 +414,19 @@ func TestDjango(t *testing.T) {
407414
}
408415

409416
func TestActiveRecord(t *testing.T) {
410-
testORM(t, testInfo{language: "ruby", orm: "activerecord"})
417+
testORM(t, testInfo{
418+
language: "ruby",
419+
orm: "activerecord",
420+
// TODO(rafi): Test secure mode. See https://github.com/cockroachdb/examples-orms/issues/117)
421+
insecure: true,
422+
})
411423
}
412424

413425
func TestActiveRecord4(t *testing.T) {
414-
testORM(t, testInfo{language: "ruby", orm: "ar4"})
426+
testORM(t, testInfo{
427+
language: "ruby",
428+
orm: "ar4",
429+
// TODO(rafi): Test secure mode. See https://github.com/cockroachdb/examples-orms/issues/117)
430+
insecure: true,
431+
})
415432
}

0 commit comments

Comments
 (0)