Skip to content

Conversation

philippschulte
Copy link
Member

@philippschulte philippschulte commented Jun 9, 2025

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  • Does your submission pass tests?

@philippschulte philippschulte added the enhancement New feature or request label Jun 9, 2025
@philippschulte
Copy link
Member Author

Test suite is failing because of the update request:

--- FAIL: TestClient_Rule (2.52s)
    api_test.go:445: 
        	Error Trace:	/home/philipp/src/fastly/go-fastly/fastly/ngwaf/v1/rules/api_test.go:445
        	Error:      	Not equal: 
        	           	expected: "https://updated.com"
        	           	actual  : ""
        	           	
        	           	Diff:
        	           	--- Expected
        	           	+++ Actual
        	           	@@ -1 +1 @@
        	           	-https://updated.com
        	           	+
        	Test:       	TestClient_Rule
FAIL
FAIL	github.com/fastly/go-fastly/v10/fastly/ngwaf/v1/rules	2.530s

The API doesn't update the new value for the redirect_url!

@philippschulte philippschulte marked this pull request as ready for review June 9, 2025 17:30
@philippschulte philippschulte requested a review from a team as a code owner June 9, 2025 17:30
Copy link
Contributor

@anthony-gomez-fastly anthony-gomez-fastly left a comment

Choose a reason for hiding this comment

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

this is excellent, thank you so much for doing all this ❤️ and being so thorough

@philippschulte philippschulte merged commit cc2bfbc into fastly:main Jun 23, 2025
4 checks passed
@philippschulte philippschulte deleted the pschulte/CDTOOL-1052_add-support-for-rules-api branch June 23, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants