equal
deleted
inserted
replaced
46 public function testCompletion() |
46 public function testCompletion() |
47 { |
47 { |
48 |
48 |
49 $search_service = $this->get("wiki_tag.search"); |
49 $search_service = $this->get("wiki_tag.search"); |
50 |
50 |
51 $result = $search_service->completion("fra"); |
51 $result = $search_service->completion("tag"); |
52 |
52 |
53 $this->assertNotNull($result, "tag cloud should not be null"); |
53 $this->assertNotNull($result, "tag cloud should not be null"); |
54 $this->assertGreaterThanOrEqual(1, count($result)); |
54 $this->assertEquals(4, count($result)); |
55 } |
55 } |
56 |
56 |
57 |
57 |
58 } |
58 } |
59 |
59 |