Skip to content

Commit 539981f

Browse files
committed
Testing if the git tests passes with initial id of possible changes
1 parent 7bb408b commit 539981f

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

core/src/main/kotlin/org/evomaster/core/output/service/HttpWsTestCaseWriter.kt

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -528,22 +528,18 @@ abstract class HttpWsTestCaseWriter : ApiTestCaseWriter() {
528528
handleVerbEndpoint(baseUrlOfSut, call, lines)
529529
}
530530

531+
format.isPlaywright() -> { // This needs to be checked!
532+
lines.append(" -539 HttpWsTestCaseWriter.kt- ")
533+
}
534+
531535
format.isJavaScript() -> {
532536
lines.indent(2)
533537
//in SuperAgent, verb must be first
534538
handleVerbEndpoint(baseUrlOfSut, call, lines)
535539
lines.append(getAcceptHeader(call, res))
536540
handleHeaders(call, lines)
537541
handleBody(call, lines)
538-
if (format.isPlaywright()) { // This needs to be checked!
539-
lines.append(" -539 HttpWsTestCaseWriter.kt- ")
540-
} else {
541-
//in SuperAgent, verb must be first
542-
handleVerbEndpoint(baseUrlOfSut, call, lines)
543-
lines.append(getAcceptHeader(call, res))
544-
handleHeaders(call, lines)
545-
handleBody(call, lines)
546-
}
542+
547543
}
548544

549545
format.isCsharp() -> {

0 commit comments

Comments
 (0)