Skip to content

Commit

Permalink
Fix a couple fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndouglas committed Oct 4, 2023
1 parent 37928b8 commit b327594
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class FrontendVersionAutocompleteController extends ControllerBase {

/**
* GitHub Clients for `content-build` repository.
* Frontend version search service.
*
* @var \Drupal\va_gov_github\Api\Client\ApiClientInterface
* @var \Drupal\va_gov_content_release\FrontendVersionSearch\FrontendVersionSearchInterface
*/
protected $frontendVersionSearch;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function testGetSetReset() : void {
$frontend = Frontend::ContentBuild;
$frontendVersion = new FrontendVersion($state);
$this->assertEquals(FrontendVersionInterface::FRONTEND_VERSION_DEFAULT, $frontendVersion->getVersion($frontend));
$frontendVersion->set('1.2.3');
$frontendVersion->setVersion($frontend, '1.2.3');
$this->assertEquals('1.2.3', $frontendVersion->getVersion($frontend));
$frontendVersion->reset();
$this->assertEquals(FrontendVersionInterface::FRONTEND_VERSION_DEFAULT, $frontendVersion->getVersion($frontend));
Expand Down

0 comments on commit b327594

Please sign in to comment.