Skip to content

Commit 06daf12

Browse files
committed
tests
1 parent 830e20c commit 06daf12

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

tests/Integration/IntegrationRegistryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,12 @@ public static function setupIntegrationsThrowsExceptionIfValueReturnedFromOption
252252
{
253253
yield [
254254
12.34,
255-
'Expected the callback set for the "integrations" option to return a list of integrations. Got: "float".',
255+
'Expected the callback set for the "integrations" option to return a list of integrations. Got: "double".',
256256
];
257257

258258
yield [
259259
new \stdClass(),
260-
'Expected the callback set for the "integrations" option to return a list of integrations. Got: "stdClass".',
260+
'Expected the callback set for the "integrations" option to return a list of integrations. Got: "object".',
261261
];
262262
}
263263

tests/StacktraceTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ public static function constructorThrowsIfFramesListContainsUnexpectedValueDataP
3939
new Frame(__FUNCTION__, __FILE__, __LINE__),
4040
10,
4141
],
42-
'/^Expected an instance of the "Sentry\\\\Frame" class\. Got: "int"\.$/',
42+
'/^Expected an instance of the "Sentry\\\\Frame" class\. Got: "integer"\.$/',
4343
];
4444

4545
yield [
4646
[(object) []],
47-
'/^Expected an instance of the "Sentry\\\\Frame" class\. Got: "stdClass"\.$/',
47+
'/^Expected an instance of the "Sentry\\\\Frame" class\. Got: "object"\.$/',
4848
];
4949

5050
yield [
5151
[new class {
5252
}],
53-
'/^Expected an instance of the "Sentry\\\\Frame" class\. Got: "class@anonymous.*"\.$/',
53+
'/^Expected an instance of the "Sentry\\\\Frame" class\. Got: "object"\.$/',
5454
];
5555
}
5656

tests/UserDataBagTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ public static function unexpectedValueForIdFieldDataProvider(): iterable
134134
{
135135
yield [
136136
12.34,
137-
'Expected an integer or string value for the $id argument. Got: "float".',
137+
'Expected an integer or string value for the $id argument. Got: "double".',
138138
];
139139

140140
yield [
141141
new \stdClass(),
142-
'Expected an integer or string value for the $id argument. Got: "stdClass".',
142+
'Expected an integer or string value for the $id argument. Got: "object".',
143143
];
144144
}
145145

0 commit comments

Comments
 (0)