We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 281b169 commit 5b1093bCopy full SHA for 5b1093b
test/Unit/FirebaseTest.php
@@ -99,6 +99,14 @@ public function test_converts_to_full_microtime_stamp()
99
$this->assertTrue($arr['timestamp_micros'] > 1_000_000);
100
}
101
102
+ public function test_throws_if_app_instance_id_missing()
103
+ {
104
+ $this->expectException(Facade\Type\Ga4ExceptionType::class);
105
+ $this->expectExceptionCode(Facade\Type\Ga4ExceptionType::REQUEST_MISSING_FIREBASE_APP_INSTANCE_ID);
106
+
107
+ Firebase::new($this->prefill['firebase_app_id'], $this->prefill['api_secret'], /* DEBUG */ true)->post();
108
+ }
109
110
public function test_throws_if_microtime_older_than_three_days()
111
{
112
$this->expectException(Facade\Type\Ga4ExceptionType::class);
0 commit comments