Skip to content

Commit

Permalink
Merge pull request #51 from OneIdentity/update/szekersz
Browse files Browse the repository at this point in the history
sps: Version bump
  • Loading branch information
asulyi committed Aug 15, 2023
2 parents eb27577 + 4b1dc8b commit d3a23b6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SafeguardSessions/resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ReleaseVersion" xml:space="preserve">
<value>v1.1.1pre1+sps7.4.0</value>
<value>v1.1.1pre2+sps7.4.0</value>
</data>
<data name="ButtonTitle" xml:space="preserve">
<value>One Identity Safeguard</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ TestFetchingSessionsWithFromSPSWithUnsupportedVersion = () =>
HasError = true,
Error = [
Reason = "Not Supported Version",
Message = "Error 10001: Your version of the connector (v1.1.1pre1+sps7.4.0) is not compatible with your SPS version (unsupported_version). For a connector version that is compatible with your SPS version, visit the official release page of the connector: https://github.com/OneIdentity/SafeguardPowerBI/releases",
Message = "Error 10001: Your version of the connector (v1.1.1pre2+sps7.4.0) is not compatible with your SPS version (unsupported_version). For a connector version that is compatible with your SPS version, visit the official release page of the connector: https://github.com/OneIdentity/SafeguardPowerBI/releases",
Detail = [
Version = "unsupported_version",
SupportedVersions = "7.3, 7.4",
Expand Down
2 changes: 1 addition & 1 deletion SafeguardSessions/test/Integration/TestGetData.query.pq
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ TestGetDataReturnsWithErrorInCaseOfUnsupportedSPSVersion = () =>
HasError = true,
Error = [
Reason = "Not Supported Version",
Message = "Error 10001: Your version of the connector (v1.1.1pre1+sps7.4.0) is not compatible with your SPS version (unsupported_version). For a connector version that is compatible with your SPS version, visit the official release page of the connector: https://github.com/OneIdentity/SafeguardPowerBI/releases",
Message = "Error 10001: Your version of the connector (v1.1.1pre2+sps7.4.0) is not compatible with your SPS version (unsupported_version). For a connector version that is compatible with your SPS version, visit the official release page of the connector: https://github.com/OneIdentity/SafeguardPowerBI/releases",
Detail = [
Version = "unsupported_version",
SupportedVersions = "7.3, 7.4",
Expand Down
2 changes: 1 addition & 1 deletion SafeguardSessions/test/Unit/TestFetchInfo.query.pq
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TestFetchInfoContainsConnectorVersion = () =>
actualInfo = Utils.FetchInfo("dummy_status", "dummy_message", null, 0, false, "dummy_url"),
expectedInfo = #table(
type table [Url = any, ConnectorVersion = any, Status = any, ExpectedCount = any, Message = any, Failed = any],
{{"dummy_url", "v1.1.1pre1+sps7.4.0", "dummy_status", 0, "dummy_message", false}}
{{"dummy_url", "v1.1.1pre2+sps7.4.0", "dummy_status", 0, "dummy_message", false}}
)
in
TestFetchInfoContentWithoutStartTime(expectedInfo, actualInfo);
Expand Down
4 changes: 2 additions & 2 deletions SafeguardSessions/test/Unit/TestLogger.query.pq
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ TestErrorLogWithSPSResultInput = () =>
],
expectedLogValues = [
LogLevel = TraceLevel.Error,
Output = "error: #table( type table [Name = any, Data = any, ItemKind = any, ItemName = any, IsLeaf = any] , {{""Sessions"", ""error"", ""Table"", ""Table"", true} , {""Info"", #table( type table [Start = any, Url = any, ConnectorVersion = any, Status = any, ExpectedCount = any, Message = any, Failed = any] , {{#datetimezone(2023, 1, 18, 9, 47, 55, 2, 0), ""query"", ""v1.1.1pre1+sps7.4.0"", ""status"", 42, ""message"", true} } ) , ""Table"", ""Table"", true} } ) ",
Output = "error: #table( type table [Name = any, Data = any, ItemKind = any, ItemName = any, IsLeaf = any] , {{""Sessions"", ""error"", ""Table"", ""Table"", true} , {""Info"", #table( type table [Start = any, Url = any, ConnectorVersion = any, Status = any, ExpectedCount = any, Message = any, Failed = any] , {{#datetimezone(2023, 1, 18, 9, 47, 55, 2, 0), ""query"", ""v1.1.1pre2+sps7.4.0"", ""status"", 42, ""message"", true} } ) , ""Table"", ""Table"", true} } ) ",
Value = #table(
type table [Name = any, Data = any, ItemKind = any, ItemName = any, IsLeaf = any],
{
Expand All @@ -121,7 +121,7 @@ TestErrorLogWithSPSResultInput = () =>
{
#datetimezone(2023, 1, 18, 9, 47, 55, 2, 0),
"query",
"v1.1.1pre1+sps7.4.0",
"v1.1.1pre2+sps7.4.0",
"status",
42,
"message",
Expand Down

0 comments on commit d3a23b6

Please sign in to comment.