public function EmailTemplatesTest::testPatch in Auth0 Single Sign On 8.2
Test updating the email template
Throws
\Exception
File
- vendor/
auth0/ auth0-php/ tests/ API/ Management/ EmailTemplatesTest.php, line 142
Class
- EmailTemplatesTest
- Class EmailTemplatesTest
Namespace
Auth0\Tests\API\ManagementCode
public function testPatch() {
$new_subject = 'Email subject ' . time();
self::$gotEmail = self::$api->emailTemplates
->patch(self::EMAIL_TEMPLATE_NAME, [
'subject' => $new_subject,
]);
$this
->assertEquals($new_subject, self::$gotEmail['subject']);
}