-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'API-43724-remove-local-bgs-refactored-dependencies' of …
…github.com:department-of-veterans-affairs/vets-api into API-43724-remove-local-bgs-refactored-dependencies merges remote
- Loading branch information
Showing
8 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -282,7 +282,7 @@ | |
end | ||
|
||
describe 'POST /v0/profile/email_addresses/create_or_update v2' do | ||
let(:email) { build(:email, :contact_info_v2, vet360_id: user.vet360_id) } | ||
let(:email) { build(:email, :contact_info_v2) } | ||
|
||
it 'calls update_email' do | ||
expect_any_instance_of(VAProfile::V2::ContactInformation::Service).to receive(:update_email).and_call_original | ||
|
@@ -294,7 +294,7 @@ | |
end | ||
|
||
describe 'POST /v0/profile/email_addresses v2' do | ||
let(:email) { build(:email, :contact_info_v2, vet360_id: user.vet360_id) } | ||
let(:email) { build(:email, :contact_info_v2) } | ||
|
||
context 'with a 200 response' do | ||
it 'matches the email address schema', :aggregate_failures do | ||
|
@@ -395,7 +395,7 @@ | |
end | ||
|
||
describe 'PUT /v0/profile/email_addresses v2' do | ||
let(:email) { build(:email, :contact_info_v2, vet360_id: user.vet360_id) } | ||
let(:email) { build(:email, :contact_info_v2) } | ||
|
||
context 'with a 200 response' do | ||
it 'matches the email address schema', :aggregate_failures do | ||
|
@@ -462,9 +462,9 @@ | |
|
||
context 'when effective_end_date is included' do | ||
let(:email) do | ||
build(:email, :contact_info_v2, vet360_id: user.vet360_id, | ||
email_address: '[email protected]', | ||
effective_end_date: '2024-09-09T11:52:03.000-06:00') | ||
build(:email, :contact_info_v2, | ||
email_address: '[email protected]', | ||
effective_end_date: '2024-09-09T11:52:03.000-06:00') | ||
end | ||
let(:id_in_cassette) { 42 } | ||
|
||
|
@@ -477,7 +477,7 @@ | |
|
||
describe 'DELETE /v0/profile/email_addresses v2', :skip_vet360 do | ||
let(:email) do | ||
build(:email, vet360_id: user.vet360_id, email_address: '[email protected]') | ||
build(:email, email_address: '[email protected]') | ||
end | ||
|
||
before do | ||
|