We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7296ae commit 01d450eCopy full SHA for 01d450e
plugins/collection-view/tests/TestCase/SerializerTest.php
@@ -87,8 +87,8 @@ public function test_as_json(): void
87
88
$obj = json_decode($json);
89
$this->assertIsObject($obj);
90
- $this->assertEventFired('MixerApi.CollectionView.beforeSerialize');
91
- $this->assertEventFired('MixerApi.CollectionView.afterSerialize');
+ $this->assertEventFired(Serializer::BEFORE_SERIALIZE_EVENT);
+ $this->assertEventFired(Serializer::AFTER_SERIALIZE_EVENT);
92
$this->assertEquals(20, $obj->collection->count);
93
$this->assertEquals(60, $obj->collection->total);
94
$this->assertEquals('/', $obj->collection->url);
0 commit comments