Skip to content

Commit 01d450e

Browse files
committed
test cleanup
1 parent a7296ae commit 01d450e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/collection-view/tests/TestCase/SerializerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ public function test_as_json(): void
8787

8888
$obj = json_decode($json);
8989
$this->assertIsObject($obj);
90-
$this->assertEventFired('MixerApi.CollectionView.beforeSerialize');
91-
$this->assertEventFired('MixerApi.CollectionView.afterSerialize');
90+
$this->assertEventFired(Serializer::BEFORE_SERIALIZE_EVENT);
91+
$this->assertEventFired(Serializer::AFTER_SERIALIZE_EVENT);
9292
$this->assertEquals(20, $obj->collection->count);
9393
$this->assertEquals(60, $obj->collection->total);
9494
$this->assertEquals('/', $obj->collection->url);

0 commit comments

Comments
 (0)