Smashing bugs in models by validating changes.

Who would have thought the what-changed tool would be the key to ensuring accuracy on the models.
This commit is contained in:
Dave Shanley
2022-11-19 10:32:19 -05:00
parent 22ca3ced63
commit 97a03315d6
14 changed files with 297 additions and 236 deletions

View File

@@ -449,7 +449,8 @@ func TestCreateDocument_Components_Links(t *testing.T) {
func TestCreateDocument_Doc_Security(t *testing.T) {
initTest()
oAuth := doc.FindSecurityRequirement("OAuthScheme")
d := doc
oAuth := d.FindSecurityRequirement("OAuthScheme")
assert.Len(t, oAuth, 2)
}