File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
tests/TelegramBotManager/Tests Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ public function testSomeVitalsFail()
8383 public function testVitalsSuccess ()
8484 {
8585 new BotManager (ParamsTest::$ demo_vital_params );
86+ self ::assertTrue (true );
8687 }
8788
8889 public function testValidTelegramObject ()
@@ -143,6 +144,8 @@ public function testValidateSecretSuccess()
143144 (new BotManager (array_merge (ParamsTest::$ demo_vital_params , [
144145 'secret ' => 'my_secret_12345 ' ,
145146 ])))->validateSecret ();
147+
148+ self ::assertTrue (true );
146149 }
147150
148151 public function testValidateAndSetWebhookSuccess ()
Original file line number Diff line number Diff line change @@ -51,9 +51,16 @@ class ParamsTest extends \PHPUnit\Framework\TestCase
5151 'custom_input ' => '{"some":"raw", "json":"update"} ' ,
5252 ];
5353
54+ public function setUp ()
55+ {
56+ // Make sure we start with a clean slate.
57+ $ _GET = [];
58+ }
59+
5460 public function testConstruct ()
5561 {
5662 new Params (self ::$ demo_vital_params );
63+ self ::assertTrue (true );
5764 }
5865
5966 /**
You can’t perform that action at this time.
0 commit comments