test(19.3-05): Journal site-cache keys: framework keys win, alias keys deprecated
- site_cache_keys_test.go: wireSiteCache on a config without a database - rename the Docker admin test to TestCategoriesAdminFrameworkKeysWin so the unit test owns TestSiteCacheFrameworkKeysWin (one name per test binary)
This commit is contained in:
@@ -330,10 +330,10 @@ func TestPostsAdminPurgesSiteCache(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
// TestSiteCacheFrameworkKeysWin proves the framework keys site_cache.* take
|
||||
// TestCategoriesAdminFrameworkKeysWin proves the framework keys site_cache.* take
|
||||
// precedence over the Journal's deprecated keys: with both set, a category
|
||||
// save purges through the framework target only.
|
||||
func TestSiteCacheFrameworkKeysWin(t *testing.T) {
|
||||
func TestCategoriesAdminFrameworkKeysWin(t *testing.T) {
|
||||
framework := newPurgeReceiver(t)
|
||||
alias := newPurgeReceiver(t)
|
||||
env := newPostsEnv(t, append(alias.env(),
|
||||
|
||||
Reference in New Issue
Block a user