Created
June 19, 2017 20:14
-
-
Save revagomes/876db54ddf05aa579fc206f4eae771a6 to your computer and use it in GitHub Desktop.
Drupal Unit Test sample snipet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\Tests\my_module\Unit; | |
use Drupal\Tests\UnitTestCase; | |
/** | |
* Tests my module related features. | |
* | |
* @group mygroup | |
*/ | |
class MyModuleFeatureTest extends UnitTestCase { | |
private $configFactory; | |
private $config; | |
public function testFirstFeature() { | |
$this->markTestSkipped('First Feature must be tested.'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment