Skip to content

Commit

Permalink
MNT Add test objects
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 11, 2023
1 parent 41ffbd3 commit bf323ab
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/Tasks/DocblockTagWriterTaskTest/TestExtension.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace SilverStripe\DocblockWriter\Tests\Tasks\DocblockTagWriterTaskTest;

use SilverStripe\Core\Extension;

class TestExtension extends Extension
{
private static $has_one = [
'SomeHasOne' => TestObjectB::class,
];
}
11 changes: 11 additions & 0 deletions tests/Tasks/DocblockTagWriterTaskTest/TestService.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace SilverStripe\DocblockWriter\Tests\Tasks\DocblockTagWriterTaskTest;

/**
* This class does nothing, it exists purely to test that it is not processed by the task
* because it is not a DataObject or Extension
*/
class TestService
{
}

0 comments on commit bf323ab

Please sign in to comment.