Code Duplication    Length = 10-10 lines in 2 locations

tests/test-GeoDirectory.php 2 locations

@@ 280-289 (lines=10) @@
277
        $this->assertContains('This is a preview of your listing', $output);
278
    }
279
280
    public function testAddListingPage() {
281
        wp_set_current_user(1);
282
283
        ob_start();
284
        $this->go_to( get_permalink(geodir_add_listing_page_id()) );
285
        $this->load_template();
286
        $output = ob_get_contents();
287
        ob_end_clean();
288
        $this->assertContains('Enter Listing Details', $output);
289
    }
290
291
    public function testLocationPage() {
292
        wp_set_current_user(1);
@@ 291-300 (lines=10) @@
288
        $this->assertContains('Enter Listing Details', $output);
289
    }
290
291
    public function testLocationPage() {
292
        wp_set_current_user(1);
293
294
        ob_start();
295
        $this->go_to( get_permalink(geodir_location_page_id()) );
296
        $this->load_template();
297
        $output = ob_get_contents();
298
        ob_end_clean();
299
        $this->assertContains('Location', $output);
300
    }
301
302
    public function testTemplates() {
303