Skip to content

Commit

Permalink
Amend test for major/minor labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Dec 15, 2023
1 parent 3031f99 commit e80e884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/DivisionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ public function testVotedTellYesWithYesSentence() {

public function testStrongIndicators() {
$page = $this->fetch_division_page();
preg_match('#Scoring votes.*?</ul>#s', $page, $m);
preg_match('#Major votes.*?</ul>#s', $page, $m);
$major = $m[0];
$this->assertContains('<li id="pw-2013-01-01-4-commons"', $major);
$this->assertContains('<li id="pw-2013-01-01-5-commons"', $major);
preg_match('#Informative votes.*?</ul>#s', $page, $m);
preg_match('#Minor votes.*?</ul>#s', $page, $m);
$minor = $m[0];
$this->assertContains('<li id="pw-2013-01-01-3-commons"', $minor);
$this->assertContains('<li id="pw-2013-01-01-6-commons"', $minor);
Expand Down

0 comments on commit e80e884

Please sign in to comment.