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->assertRegexp('/\n.*-.*\n/', $this->tester->getDisplay());
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Feb 28, 22:47 (23 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2435496
Default Alt Text
InspireTest.php (476 B)

Event Timeline