Shtim i exceptions i sentry ne Unittest

Home Forums Bugs Shtim i exceptions i sentry ne Unittest

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1423
    samiolelezi
    Participant

    InitSentry::init();

    $condition = verifyStatus(getStatus($consume_service));

    if(!$condition){
    \Sentry\captureMessage(‘Expected condition to be true, got false’, \Sentry\Severity::error());
    }

    $this->assertTrue($condition);

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.