migrate api entreprise privileges
This commit is contained in:
parent
a6f4ae3ee4
commit
a2f5687aa3
3 changed files with 3 additions and 3 deletions
|
@ -300,7 +300,7 @@ describe APIEntreprise::API do
|
|||
before do
|
||||
api.token = token
|
||||
|
||||
stub_request(:get, "https://entreprise.api.gouv.fr/v2/privileges")
|
||||
stub_request(:get, "https://entreprise.api.gouv.fr/privileges")
|
||||
.to_return(body: body, status: status)
|
||||
end
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ describe APIEntreprise::PrivilegesAdapter do
|
|||
subject { adapter }
|
||||
|
||||
before do
|
||||
stub_request(:get, "https://entreprise.api.gouv.fr/v2/privileges")
|
||||
stub_request(:get, "https://entreprise.api.gouv.fr/privileges")
|
||||
.to_return(body: body, status: status)
|
||||
allow_any_instance_of(APIEntrepriseToken).to receive(:expired?).and_return(false)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue