Issues (7)

tests/UpDownWebHookTest.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Copyright (c) 2019 - present
4
 * laravel-updown - UpDownWebHookTest.php
5
 * author: Roberto Belotti - [email protected]
6
 * web : robertobelotti.com, github.com/biscolab
7
 * Initial version created on: 28/2/2019
8
 * MIT license: https://github.com/biscolab/laravel-updown/blob/master/LICENSE
9
 */
10
11
namespace Biscolab\LaravelUpDown\Tests;
12
13
use Biscolab\UpDown\Objects\WebHook;
14
15
/**
16
 * Class UpDownWebHookTest
17
 * @package Biscolab\LaravelUpDown\Tests
18
 */
19
class UpDownWebHookTest extends TestCase
20
{
21
22
    /**
23
     * @test
24
     */
25
    public function testWebHookMethodReturnsWebHookObject()
26
    {
27
28
        $this->assertInstanceOf(WebHook::class, updown()->WebHook());
0 ignored issues
show
The method WebHook() does not exist on Biscolab\LaravelUpDown\UpDownBuilder. Since you implemented __call, consider adding a @method annotation. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

28
        $this->assertInstanceOf(WebHook::class, updown()->/** @scrutinizer ignore-call */ WebHook());
Loading history...
29
    }
30
31
    /**
32
     * @return void
33
     */
34
    public function setUp(): void
35
    {
36
37
        parent::setUp(); // TODO: Change the autogenerated stub
38
39
    }
40
}