File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,10 @@ public function testHasUploadFieldsUpdateForm()
276276
277277 public function testEnableDetailsRow ()
278278 {
279+ if (!backpack_pro ()) {
280+ $ this ->expectException (\Symfony \Component \HttpKernel \Exception \HttpException::class);
281+ }
282+
279283 $ this ->crudPanel ->setOperation ('create ' );
280284 $ this ->crudPanel ->enableDetailsRow ();
281285
@@ -307,8 +311,11 @@ public function testGetDefaultPageLength()
307311
308312 public function testEnableExportButtons ()
309313 {
310- $ this ->crudPanel ->enableExportButtons ();
314+ if (!backpack_pro ()) {
315+ $ this ->expectException (\Symfony \Component \HttpKernel \Exception \HttpException::class);
316+ }
311317
318+ $ this ->crudPanel ->enableExportButtons ();
312319 $ this ->assertTrue ($ this ->crudPanel ->exportButtons ());
313320 }
314321
You can’t perform that action at this time.
0 commit comments