Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Kentico 13 #375

Merged
merged 19 commits into from
Nov 13, 2023
Merged

Add support for Kentico 13 #375

merged 19 commits into from
Nov 13, 2023

Conversation

kentico-ericd
Copy link
Member

@kentico-ericd kentico-ericd commented Aug 8, 2023

Motivation

This is a large PR (sorry) that adds Kentico 13 support and also includes:

Checklist

  • Code follows coding conventions held in this repo
  • Automated tests have been added
  • Tests are passing
  • Docs have been updated (if applicable)
  • Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test

  • Clone the repository and follow these steps to build and run the application locally
  • Connect the application to a Kentico 13 instance
  • Test each Report and Action to ensure they are functioning

@kentico-ericd
Copy link
Member Author

@phixxo or @JohnL-Kentico, can you please test this PR using the instructions above? Code review isn't necessary, just test to ensure it is working

@@ -15,6 +18,7 @@ namespace KenticoInspector.Reports.Tests
{
[TestFixture(10)]
[TestFixture(11)]
[TestFixture(11)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate line

@@ -64,14 +68,14 @@ public void Should_ReturnGoodStatus_WhenSiteIsInSubDirectoryAndRobotsTxtFound()
_mockReport = ConfigureReportAndHandlerWithHttpClientReturning(HttpStatusCode.OK, out Mock<HttpMessageHandler> mockHttpMessageHandler);
var mockInstance = _mockInstanceService.Object.CurrentInstance;

var baseUrl = mockInstance.Url;
mockInstance.Url += "/subdirectory";
var baseUrl = mockInstance.AdminUrl;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is less than ideal, since it only covers PE sites

}

public override IList<Version> CompatibleVersions => VersionHelper.GetVersionList("10", "11", "12");
public override IList<Version> CompatibleVersions => VersionHelper.GetVersionList("10", "11", "12", "13");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not properly handle Consent agreement Form component in Kentico 13, returning error.

@JosefDvorak JosefDvorak merged commit e6d687d into master Nov 13, 2023
@kentico-ericd kentico-ericd deleted the kentico-13 branch November 15, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants