changes to sms packages and option to create user
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
class ConsoleEventTest extends TestCase
|
||||
{
|
||||
use WithConsoleEvents;
|
||||
|
||||
/**
|
||||
* A basic unit test example.
|
||||
*/
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
uses(RefreshDatabase::class);
|
||||
|
||||
it('persists to_recipients array when filling and saving', function () {
|
||||
$log = new EmailLog();
|
||||
$log = new EmailLog;
|
||||
$log->fill([
|
||||
'uuid' => (string) Str::uuid(),
|
||||
'to_email' => 'first@example.com',
|
||||
|
||||
@@ -16,20 +16,20 @@ public function test_that_true_is_true(): string
|
||||
return 'first';
|
||||
}
|
||||
|
||||
public function testPushAndPop(): void
|
||||
public function test_push_and_pop(): void
|
||||
{
|
||||
$stack = [];
|
||||
$this->assertSame(0, count($stack));
|
||||
|
||||
array_push($stack, 'foo');
|
||||
$this->assertSame('foo', $stack[count($stack)-1]);
|
||||
$this->assertSame('foo', $stack[count($stack) - 1]);
|
||||
$this->assertSame(1, count($stack));
|
||||
|
||||
$this->assertSame('foo', array_pop($stack));
|
||||
$this->assertSame(0, count($stack));
|
||||
}
|
||||
|
||||
public function testDeprecationCanBeExpected(): void
|
||||
public function test_deprecation_can_be_expected(): void
|
||||
{
|
||||
$this->expectDeprecation();
|
||||
|
||||
@@ -41,5 +41,4 @@ public function testDeprecationCanBeExpected(): void
|
||||
|
||||
\trigger_error('foo', \E_USER_DEPRECATED);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user