This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UserTest extends MyTestCase | |
public function testValidRegistration($user = null) | |
{ | |
if ($user === null) { | |
$user = TestData::$USERS[0]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'blitz_api.php'; | |
class MyBlitzListener extends BlitzListener { | |
//will provide the result on the test completed | |
public function on_complete($result){ | |
echo var_dump($result); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once 'blitz_api.php'; | |
class MyBlitzListener extends BlitzListener { | |
//will provide the result on the test completed | |
public function on_complete($result){ | |
echo var_dump($result); | |
} | |
//will provide status data as it polls the API |