Page MenuHomePhorge

UsersTest.php
No OneTemporary

Size
642 B
Referenced Files
None
Subscribers
None

UsersTest.php

<?php
namespace Tests\Feature\Console;
use Tests\TestCase;
class UsersTest extends TestCase
{
/**
* Test the command
*/
public function testHandle(): void
{
$john = $this->getTestUser('john@kolab.org');
// Existing domain
$code = \Artisan::call("users");
$output = trim(\Artisan::output());
$this->assertSame(0, $code);
$this->assertTrue(strpos($output, (string) $john->id) !== false);
// TODO: Test --deleted argument
// TODO: Test output format and other attributes
// TODO: Test tenant context
$this->markTestIncomplete();
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Nov 20, 4:14 PM (18 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
386685
Default Alt Text
UsersTest.php (642 B)

Event Timeline