global test mode + fixes
This commit is contained in:
@@ -78,6 +78,10 @@ class PushTemplate implements \JsonSerializable
|
||||
public function __construct(string $template_id)
|
||||
{
|
||||
$this->template_id = $template_id;
|
||||
|
||||
if (env('PUSH_TEST_MODE', false)) {
|
||||
$this->testMode();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user