summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-10 22:56:51 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-10 22:56:51 +0000
commitdcd99e0a9aee7cf9c576742e6ead0aaec6c76c55 (patch)
treeaf0cc1f8934612da813c16e79e548ec89518afc4 /modules/search
parent11b98e4f60ef2b5f44acec824a19386235f79dba (diff)
downloadbrdo-dcd99e0a9aee7cf9c576742e6ead0aaec6c76c55.tar.gz
brdo-dcd99e0a9aee7cf9c576742e6ead0aaec6c76c55.tar.bz2
#542972 by Shai, David_Rothstein, yoroy, et al: Change Name of 'Page' Content-Type to 'Basic page'.
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/search/search.test b/modules/search/search.test
index 02bcdeeae..7e650120b 100644
--- a/modules/search/search.test
+++ b/modules/search/search.test
@@ -298,10 +298,10 @@ class SearchAdvancedSearchForm extends DrupalWebTestCase {
/**
* Test using the search form with GET and POST queries.
- * Test using the advanced search form to limit search to pages.
+ * Test using the advanced search form to limit search to nodes of type "Basic page".
*/
function testNodeType() {
- $this->assertTrue($this->node->type == 'page', t('Node type is page.'));
+ $this->assertTrue($this->node->type == 'page', t('Node type is Basic page.'));
// Assert that the dummy title doesn't equal the real title.
$dummy_title = 'Lorem ipsum';
@@ -309,20 +309,20 @@ class SearchAdvancedSearchForm extends DrupalWebTestCase {
// Search for the dummy title with a GET query.
$this->drupalGet('search/node/' . $dummy_title);
- $this->assertNoText($this->node->title, t('Page node is not found with dummy title.'));
+ $this->assertNoText($this->node->title, t('Basic page node is not found with dummy title.'));
// Search for the title of the node with a GET query.
$this->drupalGet('search/node/' . $this->node->title);
- $this->assertText($this->node->title, t('Page node is found with GET query.'));
+ $this->assertText($this->node->title, t('Basic page node is found with GET query.'));
// Search for the title of the node with a POST query.
$edit = array('or' => $this->node->title);
$this->drupalPost('search/node', $edit, t('Advanced search'));
- $this->assertText($this->node->title, t('Page node is found with POST query.'));
+ $this->assertText($this->node->title, t('Basic page node is found with POST query.'));
// Advanced search type option.
$this->drupalPost('search/node', array_merge($edit, array('type[page]' => 'page')), t('Advanced search'));
- $this->assertText($this->node->title, t('Page node is found with POST query and type:page.'));
+ $this->assertText($this->node->title, t('Basic page node is found with POST query and type:page.'));
$this->drupalPost('search/node', array_merge($edit, array('type[article]' => 'article')), t('Advanced search'));
$this->assertText('bike shed', t('Article node is not found with POST query and type:article.'));