Skip to content

Commit

Permalink
adjust unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfinnarn committed Feb 21, 2024
1 parent f723624 commit 49d14f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ interface RepositorySettingsInterface {
const CONTENT_BUILD = 'content-build';
const VETS_WEBSITE = 'vets-website';
const NEXT_BUILD = 'next-build';
const NEXT_VETS_WEBSITE = 'vets-website';
const NEXT_VETS_WEBSITE = 'next-vets-website';

const REPOSITORY_NAMES = [
self::VA_GOV_CMS,
self::CONTENT_BUILD,
self::VETS_WEBSITE,
self::NEXT_BUILD,
self::NEXT_VETS_WEBSITE,
];

// Settings keys for the repositories' filesystem paths.
Expand All @@ -39,7 +38,7 @@ interface RepositorySettingsInterface {
self::CONTENT_BUILD => self::CONTENT_BUILD_PATH_KEY,
self::VETS_WEBSITE => self::VETS_WEBSITE_PATH_KEY,
self::NEXT_BUILD => self::NEXT_BUILD_PATH_KEY,
'next-vets-website' => self::NEXT_VETS_WEBSITE_PATH_KEY,
self::NEXT_VETS_WEBSITE => self::NEXT_VETS_WEBSITE_PATH_KEY,
];

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ public function testGetPathKey() {
$this->assertEquals(RepositorySettingsInterface::PATH_KEYS['content-build'], $repositorySettings->getPathKey('content-build'));
$this->assertEquals(RepositorySettingsInterface::PATH_KEYS['vets-website'], $repositorySettings->getPathKey('vets-website'));
$this->assertEquals(RepositorySettingsInterface::PATH_KEYS['next-build'], $repositorySettings->getPathKey('next-build'));
// $this->assertEquals(
// RepositorySettingsInterface::PATH_KEYS['next-vets-website'],
// $repositorySettings->getPathKey('next-vets-website'));
}

/**
Expand All @@ -77,10 +74,10 @@ public function testList() {
'name' => RepositorySettingsInterface::NEXT_BUILD,
'path' => Settings::get('va_gov_next_build_root'),
],
// [
// 'name' => RepositorySettingsInterface::NEXT_VETS_WEBSITE,
// 'path' => Settings::get('va_gov_next_vets_website_root'),
// ],
[
'name' => RepositorySettingsInterface::NEXT_VETS_WEBSITE,
'path' => Settings::get('va_gov_next_vets_website_root'),
],
], $repositorySettings->list());
}

Expand Down

0 comments on commit 49d14f6

Please sign in to comment.