Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: Case on Variation application status tags
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble committed Aug 13, 2024
1 parent 483eb90 commit ec221e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function testViewWithRequiresAttention(): void
$this->assertInstanceOf(ViewModel::class, $viewModel);
$this->assertEquals('section.name.type_of_licence', $viewModel->getVariable('name'));
$this->assertEquals('orange', $viewModel->getVariable('statusColour'));
$this->assertEquals('REQUIRES ATTENTION', $viewModel->getVariable('status'));
$this->assertEquals('Requires attention', $viewModel->getVariable('status'));

// variation sections should NOT be visibly numbered
$this->assertNull($viewModel->getVariable('sectionNumber')); // OLCS-7016;
Expand All @@ -56,7 +56,7 @@ public function testViewWithUpdated(): void
$this->assertInstanceOf(ViewModel::class, $viewModel);
$this->assertEquals('section.name.type_of_licence', $viewModel->getVariable('name'));
$this->assertEquals('green', $viewModel->getVariable('statusColour'));
$this->assertEquals('UPDATED', $viewModel->getVariable('status'));
$this->assertEquals('Updated', $viewModel->getVariable('status'));

$this->assertNull($viewModel->getVariable('sectionNumber'));
}
Expand Down

0 comments on commit ec221e9

Please sign in to comment.