Skip to content

Commit

Permalink
fix: removed owningSystemUrl from IServerInfo (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinr-maps authored Mar 26, 2024
1 parent f81edc1 commit a801537
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion packages/arcgis-rest-request/src/ArcGISIdentityManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export interface IServerInfo {
server: string;
hasPortal: boolean;
hasServer: boolean;
owningSystemUrl: string | null;
}

/**
Expand Down
13 changes: 4 additions & 9 deletions packages/arcgis-rest-request/test/ArcGISIdentityManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2461,8 +2461,7 @@ describe("ArcGISIdentityManager", () => {
const MOCK_SERVER_INFO: IServerInfo = {
hasPortal: true,
hasServer: false,
server: "https://www.arcgis.com",
owningSystemUrl: null
server: "https://www.arcgis.com"
};

const MOCK_USER_SESSION = new ArcGISIdentityManager({
Expand Down Expand Up @@ -2503,8 +2502,7 @@ describe("ArcGISIdentityManager", () => {
const MOCK_SERVER_INFO: IServerInfo = {
hasPortal: true,
hasServer: false,
server: "https://www.arcgis.com/sharing/rest",
owningSystemUrl: null
server: "https://www.arcgis.com/sharing/rest"
};

const MOCK_CREDENTIAL: ICredential = {
Expand Down Expand Up @@ -2540,9 +2538,7 @@ describe("ArcGISIdentityManager", () => {
const MOCK_SERVER_INFO_FOR_SERVER: IServerInfo = {
hasPortal: true,
hasServer: true,
server:
"https://services.arcgis.com/arcgis/services/test/FeatureServer",
owningSystemUrl: null
server: "https://services.arcgis.com/arcgis/services/test/FeatureServer"
};

const session = ArcGISIdentityManager.fromCredential(
Expand Down Expand Up @@ -2577,8 +2573,7 @@ describe("ArcGISIdentityManager", () => {
const MOCK_SERVER_INFO: IServerInfo = {
hasPortal: true,
hasServer: true,
server: "https://www.arcgis.com",
owningSystemUrl: null
server: "https://www.arcgis.com"
};

const session = ArcGISIdentityManager.fromCredential(
Expand Down

0 comments on commit a801537

Please sign in to comment.