1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +02:00

Added post extender with type method, deprecated ConfigurePostTypes (#2101)

This commit is contained in:
Alexander Skvortsov
2020-11-03 10:43:49 -05:00
committed by GitHub
parent 5842dd1200
commit cee87848fe
6 changed files with 106 additions and 5 deletions

View File

@@ -326,7 +326,7 @@ class ModelTest extends TestCase
$this->app();
$post = new CustomPost;
$post = new ModelTestCustomPost;
$this->assertEquals(42, $post->answer);
@@ -416,7 +416,7 @@ class ModelTest extends TestCase
}
}
class CustomPost extends AbstractEventPost
class ModelTestCustomPost extends AbstractEventPost
{
/**
* {@inheritdoc}