summaryrefslogtreecommitdiffstats
path: root/hugolib/taxonomy_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-02-25 18:14:48 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-02-25 18:14:48 +0100
commit0eb76b0863666ee99b8643a37bcb46eb1c4a8043 (patch)
tree2ef8694646c6551108df04afb202c48c31562091 /hugolib/taxonomy_test.go
parenta8a8249f67b3725b68316f5e22410554405d1e5e (diff)
Revert "hugolib: Add terms' pages to .Data.Pages"
This reverts commit e117b1b2c7d18f25e1b7094fd7edb5e12721b79d. Will have to think a little about this.
Diffstat (limited to 'hugolib/taxonomy_test.go')
-rw-r--r--hugolib/taxonomy_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/hugolib/taxonomy_test.go b/hugolib/taxonomy_test.go
index 919c3a558..f23693403 100644
--- a/hugolib/taxonomy_test.go
+++ b/hugolib/taxonomy_test.go
@@ -124,15 +124,6 @@ others:
th.assertFileContent("public/others/index.html", "Terms List", "Others")
s := h.Sites[0]
- cat1 := s.getPage(KindTaxonomy, "categories", "cat1")
- require.NotNil(t, cat1)
- require.Len(t, cat1.Pages, 2)
-
- cat := s.getPage(KindTaxonomyTerm, "categories")
- require.NotNil(t, cat)
- require.Len(t, cat.Pages, 3)
- require.Len(t, cat.Data["Pages"], 3)
- require.Equal(t, "t1/c1", cat.Pages[0].Title)
// Issue #3070 preserveTaxonomyNames
if preserveTaxonomyNames {