File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44
55use AlexWestergaard \PhpGa4 \UserProperty ;
66use AlexWestergaard \PhpGa4 \Item ;
7- use AlexWestergaard \PhpGa4 \Exception \Ga4IOException ;
87use AlexWestergaard \PhpGa4 \Exception \Ga4Exception ;
98use AlexWestergaard \PhpGa4 \Event ;
109use AlexWestergaard \PhpGa4 \Analytics ;
@@ -17,6 +16,7 @@ class LegacyAnalyticsTest extends \PHPUnit\Framework\TestCase
1716
1817 protected function setUp (): void
1918 {
19+ Ga4Exception::resetStack ();
2020 parent ::setUp ();
2121
2222 $ this ->prefill = [
@@ -149,7 +149,7 @@ public function testPartialRefundNoItemsThrows()
149149 {
150150 $ refund = Event \Refund::new ()->setTransactionId (1 );
151151
152- $ this ->expectException (Ga4IOException ::class);
152+ $ this ->expectException (Ga4Exception ::class);
153153
154154 $ this ->analytics ->addEvent ($ refund );
155155 }
You can’t perform that action at this time.
0 commit comments