Martin Hähnel
Archive Photos Replies About Garden Search
2024-04-20
BuildInPublic > mb-sync

After a lot of other stuff I’m back at it. TIL that php ENUMS are kind of hard to do assertions on in PHPUnit. assertSame and assertEquals both don’t work.

What I can do though is this:

$this->assertSame(SyncStatus::Pending->value, $syncStatusAfter->value);

#buildinpublic #mbsync

Contents

< DailyDogo 880 🐶
After many hours of >
© 2025 Martin Hähnel
Powered by Hugo with theme Minos