(t *testing.T)
| 210 | } |
| 211 | |
| 212 | func TestAWSOpenOptions(t *testing.T) { |
| 213 | require.Empty(t, awsOpenOptions(nil, &fakeTokenProvider{})) |
| 214 | |
| 215 | authConfig := &awsConfig{ |
| 216 | enabled: true, |
| 217 | region: "us-east-1", |
| 218 | endpoint: "example.us-east-1.rds.amazonaws.com:5432", |
| 219 | user: "bb_meta", |
| 220 | } |
| 221 | |
| 222 | require.Len(t, awsOpenOptions(authConfig, &fakeTokenProvider{}), 1) |
| 223 | } |
| 224 | |
| 225 | func TestConfigure(t *testing.T) { |
| 226 | pgxConfig := mustParsePGXConfig(t, "postgres://bb@example.us-east-1.rds.amazonaws.com:5432/bytebase?sslmode=verify-full") |
nothing calls this directly
no test coverage detected