Resource server improvements and fixes (#90715)
* cleanup dependencies and improve list method * Improve Resource Server API, remove unnecessary dependencies * Reduce the API footprint of ResourceDBInterface and its implementation * Improve LifecycleHooks to use context * Improve testing * reduce API size and improve code * sqltemplate: add DialectForDriver func and improve naming * improve lifecycle API * many small fixes after adding more tests
This commit is contained in:
@@ -178,7 +178,7 @@ func TestName_Name(t *testing.T) {
|
||||
|
||||
const v = "some dialect name"
|
||||
n := name(v)
|
||||
if n.Name() != v {
|
||||
t.Fatalf("unexpected dialect name %q", n.Name())
|
||||
if n.DialectName() != v {
|
||||
t.Fatalf("unexpected dialect name %q", n.DialectName())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user