|
From: Jason S. <jsw...@ya...> - 2004-04-06 03:47:18
|
Just a quick note to everyone that I checked into CVS a version of the
WebTestCase class that supports SSL connections. For this to work, you will
need php 4.3.0 or greater, and openssl compiled in.
To use, just put https as the url scheme:
class TestSsl extends WebTestCase
{
function TestSsl($name='') {
$this->WebTestCase($name);
}
function TestFetch() {
$this->assertTrue($this->get('https://www.some.secure.site/'));
}
}
Please let me know if you experience any issues with it.
Regards,
Jason
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
|