mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 23:50:19 +05:30
21 lines
505 B
PHP
21 lines
505 B
PHP
<?php
|
|
namespace api\tests\_pages;
|
|
|
|
class SignupRoute extends BasePage {
|
|
|
|
public function register(array $registrationData) {
|
|
$this->getActor()->sendPOST('/api/signup', $registrationData);
|
|
}
|
|
|
|
public function sendRepeatMessage($email = '') {
|
|
$this->getActor()->sendPOST('/api/signup/repeat-message', ['email' => $email]);
|
|
}
|
|
|
|
public function confirm($key = '') {
|
|
$this->getActor()->sendPOST('/api/signup/confirm', [
|
|
'key' => $key,
|
|
]);
|
|
}
|
|
|
|
}
|