We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 65-75 (lines=11) @@ | ||
62 | $this->assertEquals($expectedButton, $this->crudPanel->buttons->last()); |
|
63 | } |
|
64 | ||
65 | public function testAddButtonBottomUnknownStackName() |
|
66 | { |
|
67 | $this->markTestIncomplete('Not correctly implemented'); |
|
68 | ||
69 | $this->setExpectedException(\Exception::class); |
|
70 | ||
71 | $expectedButton = $this->topViewButton; |
|
72 | ||
73 | // TODO: this should throw an error. |
|
74 | $this->crudPanel->addButton('unknownStackName', $expectedButton->name, $expectedButton->type, $expectedButton->content); |
|
75 | } |
|
76 | ||
77 | public function testAddButtonsWithSameName() |
|
78 | { |
|
@@ 115-125 (lines=11) @@ | ||
112 | $this->assertEquals($expectedButton, $this->crudPanel->buttons->last()); |
|
113 | } |
|
114 | ||
115 | public function testAddButtonUnknownPosition() |
|
116 | { |
|
117 | $this->markTestIncomplete('Not correctly implemented'); |
|
118 | ||
119 | $this->setExpectedException(\Exception::class); |
|
120 | ||
121 | $expectedButton = $this->lineViewButton; |
|
122 | ||
123 | // TODO: this should throw an error. |
|
124 | $this->crudPanel->addButton($expectedButton->stack, $expectedButton->name, $expectedButton->type, $expectedButton->content, 'unknownPosition'); |
|
125 | } |
|
126 | ||
127 | public function testAddButtonFromModelFunction() |
|
128 | { |