Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/system/tests/src/Unit/TraitAccessTest.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\Tests\system\Unit; | |
4 | |
5 use Drupal\Tests\UnitTestCase; | |
6 use Drupal\Tests\system\Traits\TestTrait; | |
7 | |
8 /** | |
9 * Test whether traits are autoloaded during PHPUnit discovery time. | |
10 * | |
11 * @group system | |
12 * @group Test | |
13 */ | |
14 class TraitAccessTest extends UnitTestCase { | |
15 | |
16 use TestTrait; | |
17 | |
18 /** | |
19 * @coversNothing | |
20 */ | |
21 public function testSimpleStuff() { | |
22 $stuff = $this->getStuff(); | |
23 $this->assertSame($stuff, 'stuff', "Same old stuff"); | |
24 } | |
25 | |
26 } |