@@ -12,11 +12,11 @@ |
||
| 12 | 12 | |
| 13 | 13 | class UtilityTest extends UnitTestCase{ |
| 14 | 14 | |
| 15 | - public function testVerpEnvelopeSenderCanCreateStandardSender() { |
|
| 15 | + public function testVerpEnvelopeSenderCanCreateStandardSender() { |
|
| 16 | 16 | $sender = twfy_verp_envelope_sender('[email protected]'); |
| 17 | 17 | $expected_sender = 'twfy+aperson=a.nother.dom@' + EMAILDOMAIN; |
| 18 | 18 | $this->assertEqual($sender, $expected_sender, 'verp_envelope_sender can create a sender for a standard address'); |
| 19 | - } |
|
| 19 | + } |
|
| 20 | 20 | |
| 21 | 21 | } |
| 22 | 22 | |
@@ -32,8 +32,8 @@ |
||
| 32 | 32 | </div> |
| 33 | 33 | </div> |
| 34 | 34 | <?php } else { |
| 35 | - $section = false; include '_section_content.php'; |
|
| 36 | - } ?> |
|
| 35 | + $section = false; include '_section_content.php'; |
|
| 36 | + } ?> |
|
| 37 | 37 | |
| 38 | 38 | </div> |
| 39 | 39 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | <?php } ?> |
| 50 | 50 | </a> |
| 51 | 51 | <?php } |
| 52 | - if ( isset($row['excerpt']) ) { ?> |
|
| 52 | + if ( isset($row['excerpt']) ) { ?> |
|
| 53 | 53 | <p class="business-list__excerpt"> |
| 54 | 54 | <?= trim_characters($row['excerpt'], 0, 200 ) ?> |
| 55 | 55 | </p> |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | <div class="row nested-row"> |
| 42 | 42 | <div class="homepage-in-the-news homepage-content-section"> |
| 43 | 43 | <?php if ( $featured ) { |
| 44 | - include dirname(__FILE__) . "/../homepage/featured.php"; |
|
| 44 | + include dirname(__FILE__) . "/../homepage/featured.php"; |
|
| 45 | 45 | } ?> |
| 46 | 46 | </div> |
| 47 | 47 | <div class="homepage-create-alert homepage-content-section"> |
@@ -67,4 +67,4 @@ |
||
| 67 | 67 | api_output($out); |
| 68 | 68 | } else { |
| 69 | 69 | api_error('Nothing'); |
| 70 | - } |
|
| 70 | + } |
|
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | $DATA->set_page_metadata($this_page, 'title', 'Hansard'); |
| 8 | 8 | $DATA->set_page_metadata($this_page, 'meta_description', |
| 9 | - 'Find the complete Hansard on TheyWorkForYou.com - transcripts from all UK parliamentary debates in easily-searchable form.'); |
|
| 9 | + 'Find the complete Hansard on TheyWorkForYou.com - transcripts from all UK parliamentary debates in easily-searchable form.'); |
|
| 10 | 10 | $DATA->set_page_metadata($this_page, 'meta_keywords', "hansard, search hansard, hansard transcriptions, hansard record, parliamentary transcripts, parliament transcripts, parliament records, uk hansard, hansard uk, house of commons transcript, house of commons debates, house of commons records"); |
| 11 | 11 | |
| 12 | 12 | $PAGE->supress_heading = true; |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | ); |
| 101 | 101 | |
| 102 | 102 | $expectedTable = $this->createXmlDataSet(dirname(__FILE__).'/_fixtures/expectedTokens.xml') |
| 103 | - ->getTable("tokens"); |
|
| 103 | + ->getTable("tokens"); |
|
| 104 | 104 | $this->assertTablesEqual($expectedTable, $queryTable); |
| 105 | 105 | |
| 106 | 106 | $alertCount = $this->getConnection()->getRowCount('alerts', 'email = "[email protected]"'); |
@@ -7,8 +7,8 @@ discard block |
||
| 7 | 7 | |
| 8 | 8 | class SearchTest extends FetchPageTestCase |
| 9 | 9 | { |
| 10 | - public function setUp() |
|
| 11 | - { |
|
| 10 | + public function setUp() |
|
| 11 | + { |
|
| 12 | 12 | parent::setUp(); |
| 13 | 13 | include_once('www/includes/easyparliament/searchengine.php'); |
| 14 | 14 | } |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * |
| 88 | 88 | * @group xapian |
| 89 | 89 | */ |
| 90 | - public function testSearchNormal() |
|
| 90 | + public function testSearchNormal() |
|
| 91 | 91 | { |
| 92 | 92 | $SEARCHENGINE = new SEARCHENGINE('test'); |
| 93 | 93 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * |
| 103 | 103 | * @group xapian |
| 104 | 104 | */ |
| 105 | - public function testSearchLink() |
|
| 105 | + public function testSearchLink() |
|
| 106 | 106 | { |
| 107 | 107 | $SEARCHENGINE = new SEARCHENGINE('test'); |
| 108 | 108 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | <div class="row nested-row"> |
| 42 | 42 | <div class="homepage-in-the-news homepage-content-section"> |
| 43 | 43 | <?php if ( $featured ) { |
| 44 | - include dirname(__FILE__) . "/../homepage/featured.php"; |
|
| 44 | + include dirname(__FILE__) . "/../homepage/featured.php"; |
|
| 45 | 45 | } ?> |
| 46 | 46 | </div> |
| 47 | 47 | <div class="homepage-create-alert homepage-content-section"> |