…ent config (#6321)
### **User description**
The migration wasn't handled correctly in test, test only change
___
### **PR Type**
Bug fix, Tests
___
### **Description**
- Added a valid event handler configuration to the
`TestOAS_ExtractTo_ResetAPIDefinition` test to ensure proper migration
handling.
- Removed an incorrect assertion related to event handlers in the test.
- Updated import statements for better organization and readability.
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests
</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>oas_test.go</strong><dd><code>Fix and enhance
`TestOAS_ExtractTo_ResetAPIDefinition` test.</code></dd></summary>
<hr>
apidef/oas/oas_test.go
<li>Added valid event handler configuration to
<br><code>TestOAS_ExtractTo_ResetAPIDefinition</code>.<br> <li> Removed
an incorrect assertion in the test.<br> <li> Updated import statements
for better organization.<br>
</details>
</td>
<td><a
href="https://github.com/TykTechnologies/tyk/pull/6321/files#diff-74029ee88132d30d6478c96a35f8bb2200e0c8e6f42f2c9b147dc6bb7ce74644">+14/-4</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools
and their descriptions
Co-authored-by: Tit Petric <[email protected]>
User description
The migration wasn't handled correctly in test, test only change
PR Type
Bug fix, Tests
Description
TestOAS_ExtractTo_ResetAPIDefinitiontest to ensure proper migration handling.Changes walkthrough 📝
oas_test.go
Fix and enhance `TestOAS_ExtractTo_ResetAPIDefinition` test.apidef/oas/oas_test.go
TestOAS_ExtractTo_ResetAPIDefinition.