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:
committed by
GitHub
parent
5842dd1200
commit
cee87848fe
@@ -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}
|
||||
|
Reference in New Issue
Block a user