Page MenuHomeDevCentral

InspireTest.php
No OneTemporary

InspireTest.php

<?php
namespace Nasqueron\Notifications\Tests\Console\Commands;
class InspireTest extends TestCase {
/**
* @var string
*/
protected $class = 'Nasqueron\Notifications\Console\Commands\Inspire';
public function testExecute () {
// A quote contain a - character and is embedded by PHP_EOL
$this->tester->execute(['command' => $this->command->getName()]);
$this->assertRegexpInDisplay('/\n.*-.*\n/');
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Apr 9, 02:08 (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3601448
Default Alt Text
InspireTest.php (456 B)

Event Timeline