]> source.dussan.org Git - gitblit.git/commitdiff
Dropped non-annotated tag index test
authorJames Moger <james.moger@gitblit.com>
Wed, 29 Feb 2012 03:41:11 +0000 (22:41 -0500)
committerJames Moger <james.moger@gitblit.com>
Wed, 29 Feb 2012 03:41:11 +0000 (22:41 -0500)
tests/com/gitblit/tests/LuceneUtilsTest.java

index 7f3dad0e353cdb3337810d09450da9f6bbe086b3..5e3882370b2788350d1d39ff8193d2003faa20fd 100644 (file)
@@ -81,13 +81,6 @@ public class LuceneUtilsTest {
                assertEquals("2648c0c98f2101180715b4d432fc58d0e21a51d7", results.get(0).id);\r
                assertEquals("refs/heads/gh-pages", results.get(0).branch);\r
                \r
-               // tag test\r
-               results = LuceneUtils.search("\"qft split\"", 10, repository);\r
-               assertEquals(1, results.size());\r
-               assertEquals("Ondrej Certik", results.get(0).author);\r
-               assertEquals("57c4f26f157ece24b02f4f10f5f68db1d2ce7ff5", results.get(0).id);\r
-               assertEquals("[1st-edition]", results.get(0).labels.toString());\r
-\r
                results = LuceneUtils.search("type:blob AND \"src/intro.rst\"", 10, repository);\r
                assertEquals(4, results.size());\r
                \r