Skip to content

Commit

Permalink
Updating comments
Browse files Browse the repository at this point in the history
Signed-off-by: Atul-glo35265 <[email protected]>
  • Loading branch information
Atul-glo35265 committed Oct 16, 2024
1 parent f9d6567 commit 3157d8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/AutoDiscover.php
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ public function toXml()
}

/**
* Handle function
* Handle WSDL document
*
* @param string|null|callable $responseHandler
* @return void
Expand Down
2 changes: 0 additions & 2 deletions test/AutoDiscoverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1461,13 +1461,11 @@ public function testHandle()
ob_start();

$this->server->handle(function (?string $header) {
// Optionally verify the header if you're mocking
$this->assertEquals('Content-Type: text/xml', $header);
});

$actualWsdl = ob_get_clean();

// Assertions
$this->assertNotEmpty($actualWsdl, "WSDL content was not outputted.");
$this->assertStringContainsString($scriptUri, $actualWsdl, "Script URL was not found in WSDL content.");
}
Expand Down

0 comments on commit 3157d8d

Please sign in to comment.