Skip to content

Commit

Permalink
update snapshots for dummy opensrp url
Browse files Browse the repository at this point in the history
  • Loading branch information
machariamuguku committed Jun 28, 2021
1 parent 954a982 commit 195a284
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {

expect(fetch.mock.calls).toMatchObject([
[
'https://opensrp-stage.smartregister.org/opensrp/rest/organization',
'https://some.opensrp.url/organization',
{
'Cache-Control': 'no-cache',
Pragma: 'no-cache',
Expand Down Expand Up @@ -245,7 +245,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/deleteByPractitioner?practitioner=0&organization=b0c20f20-c1c0-4ea3-b855-4fcb23f6ae2a',
'https://some.opensrp.url/practitionerRole/deleteByPractitioner?practitioner=0&organization=b0c20f20-c1c0-4ea3-b855-4fcb23f6ae2a',
{
headers: {
accept: 'application/json',
Expand All @@ -256,7 +256,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/deleteByPractitioner?practitioner=1&organization=b0c20f20-c1c0-4ea3-b855-4fcb23f6ae2a',
'https://some.opensrp.url/practitionerRole/deleteByPractitioner?practitioner=1&organization=b0c20f20-c1c0-4ea3-b855-4fcb23f6ae2a',
{
headers: {
accept: 'application/json',
Expand All @@ -267,7 +267,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/deleteByPractitioner?practitioner=2&organization=b0c20f20-c1c0-4ea3-b855-4fcb23f6ae2a',
'https://some.opensrp.url/practitionerRole/deleteByPractitioner?practitioner=2&organization=b0c20f20-c1c0-4ea3-b855-4fcb23f6ae2a',
{
headers: {
accept: 'application/json',
Expand Down Expand Up @@ -301,7 +301,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {

expect(fetch.mock.calls).toMatchObject([
[
'https://opensrp-stage.smartregister.org/opensrp/rest/organization/258b4dec-79d3-546d-9c5c-f172aa7e03b0',
'https://some.opensrp.url/organization/258b4dec-79d3-546d-9c5c-f172aa7e03b0',
{
'Cache-Control': 'no-cache',
Pragma: 'no-cache',
Expand Down Expand Up @@ -329,7 +329,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/deleteByPractitioner?practitioner=0&organization=258b4dec-79d3-546d-9c5c-f172aa7e03b0',
'https://some.opensrp.url/practitionerRole/deleteByPractitioner?practitioner=0&organization=258b4dec-79d3-546d-9c5c-f172aa7e03b0',
{
headers: {
accept: 'application/json',
Expand All @@ -340,7 +340,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/deleteByPractitioner?practitioner=1&organization=258b4dec-79d3-546d-9c5c-f172aa7e03b0',
'https://some.opensrp.url/practitionerRole/deleteByPractitioner?practitioner=1&organization=258b4dec-79d3-546d-9c5c-f172aa7e03b0',
{
headers: {
accept: 'application/json',
Expand All @@ -351,7 +351,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/add/',
'https://some.opensrp.url/practitionerRole/add/',
{
'Cache-Control': 'no-cache',
Pragma: 'no-cache',
Expand Down Expand Up @@ -390,7 +390,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {

expect(fetch.mock.calls).toMatchObject([
[
'https://opensrp-stage.smartregister.org/opensrp/rest/organization/258b4dec-79d3-546d-9c5c-f172aa7e03b0',
'https://some.opensrp.url/organization/258b4dec-79d3-546d-9c5c-f172aa7e03b0',
{
'Cache-Control': 'no-cache',
Pragma: 'no-cache',
Expand Down Expand Up @@ -418,7 +418,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/deleteByPractitioner?practitioner=0&organization=258b4dec-79d3-546d-9c5c-f172aa7e03b0',
'https://some.opensrp.url/practitionerRole/deleteByPractitioner?practitioner=0&organization=258b4dec-79d3-546d-9c5c-f172aa7e03b0',
{
headers: {
accept: 'application/json',
Expand All @@ -429,7 +429,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/deleteByPractitioner?practitioner=1&organization=258b4dec-79d3-546d-9c5c-f172aa7e03b0',
'https://some.opensrp.url/practitionerRole/deleteByPractitioner?practitioner=1&organization=258b4dec-79d3-546d-9c5c-f172aa7e03b0',
{
headers: {
accept: 'application/json',
Expand All @@ -440,7 +440,7 @@ describe('Team-management/TeamsAddEdit/Form', () => {
},
],
[
'https://opensrp-stage.smartregister.org/opensrp/rest/practitionerRole/add/',
'https://some.opensrp.url/practitionerRole/add/',
{
'Cache-Control': 'no-cache',
Pragma: 'no-cache',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports[`components/TeamsView/table renders without crashing: Table 1`] = `
},
]
}
opensrpBaseURL="https://opensrp-stage.smartregister.org/opensrp/rest/"
opensrpBaseURL="https://some.opensrp.url/"
setDetail={[Function]}
setPractitionersList={[Function]}
/>
Expand Down

0 comments on commit 195a284

Please sign in to comment.