Skip to content

Commit 4396585

Browse files
fixing deterministic id
This changed... at some point, somehow - probably just due to lines changing in the template, then missing updating the test.
1 parent 6ff829d commit 4396585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LiveComponent/tests/Functional/EventListener/AddLiveAttributesSubscriberTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public function testItAddsIdAndFingerprintToChildComponent(): void
8585

8686
$lis = $ul->children('li');
8787
// deterministic id: should not change, and counter should increase
88-
$this->assertSame('live-2816377500-0', $lis->first()->attr('data-live-id'));
89-
$this->assertSame('live-2816377500-2', $lis->last()->attr('data-live-id'));
88+
$this->assertSame('live-3649730296-0', $lis->first()->attr('data-live-id'));
89+
$this->assertSame('live-3649730296-2', $lis->last()->attr('data-live-id'));
9090

9191
// fingerprints
9292
// first and last both have the same input - thus fingerprint

0 commit comments

Comments
 (0)