Skip to content

Commit f11d041

Browse files
committed
update test to use mock platform linux
1 parent 002c9f7 commit f11d041

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dart/test/sentry_client_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,8 @@ void main() {
18161816
test(
18171817
'Spotlight enabled should set transport to SpotlightHttpTransport on Linux',
18181818
() async {
1819-
fixture.options.platformChecker = MockPlatformChecker(isWebValue: true);
1819+
fixture.options.platformChecker =
1820+
MockPlatformChecker(platform: MockPlatform.linux());
18201821
fixture.options.spotlight = Spotlight(enabled: true);
18211822
fixture.getSut();
18221823

0 commit comments

Comments
 (0)