Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
61 'type' => 'page', | 61 'type' => 'page', |
62 ]); | 62 ]); |
63 | 63 |
64 $this->drupalGet('admin/content', [ | 64 $this->drupalGet('admin/content', [ |
65 'query' => [ | 65 'query' => [ |
66 'title' => 'FooBarBaz' | 66 'title' => 'FooBarBaz', |
67 ] | 67 ], |
68 ]); | 68 ]); |
69 | 69 |
70 $this->assertSession()->linkExists('FooBarBaz'); | 70 $this->assertSession()->linkExists('FooBarBaz'); |
71 $this->assertSession()->linkByHrefExists($node->toUrl()->toString()); | 71 $this->assertSession()->linkByHrefExists($node->toUrl()->toString()); |
72 | 72 |
73 // Make sure the path is case-insensitive, and query case is preserved. | 73 // Make sure the path is case-insensitive, and query case is preserved. |
74 | 74 |
75 $this->drupalGet('Admin/Content', [ | 75 $this->drupalGet('Admin/Content', [ |
76 'query' => [ | 76 'query' => [ |
77 'title' => 'FooBarBaz' | 77 'title' => 'FooBarBaz', |
78 ] | 78 ], |
79 ]); | 79 ]); |
80 | 80 |
81 $this->assertSession()->linkExists('FooBarBaz'); | 81 $this->assertSession()->linkExists('FooBarBaz'); |
82 $this->assertSession()->linkByHrefExists($node->toUrl()->toString()); | 82 $this->assertSession()->linkByHrefExists($node->toUrl()->toString()); |
83 $this->assertSession()->fieldValueEquals('edit-title', 'FooBarBaz'); | 83 $this->assertSession()->fieldValueEquals('edit-title', 'FooBarBaz'); |