changes to sms packages and option to create user

This commit is contained in:
Simon Pocrnjič
2025-11-06 21:54:07 +01:00
parent ad8e0d5cee
commit 1395b72ae8
102 changed files with 1386 additions and 319 deletions
+1
View File
@@ -8,6 +8,7 @@
class ConsoleEventTest extends TestCase
{
use WithConsoleEvents;
/**
* A basic unit test example.
*/
+1 -1
View File
@@ -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',
+3 -4
View File
@@ -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);
}
}