Skip to content

Commit

Permalink
bugfix - update namespaces for tests (#147)
Browse files Browse the repository at this point in the history
add $table_name for TestPage
  • Loading branch information
jsirish authored Sep 25, 2018
1 parent 9cc9049 commit ac1dbc9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/FlexSliderTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Dynamic\flexslider\tests;
namespace Dynamic\FlexSlider\Test;

use Dynamic\FlexSlider\Model\SlideImage;
use SilverStripe\Assets\Image;
Expand Down
2 changes: 1 addition & 1 deletion tests/SlideImageTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Dynamic\flexslider\tests;
namespace Dynamic\FlexSlider\Test;

use Dynamic\FlexSlider\Model\SlideImage;
use SilverStripe\Core\Config\Config;
Expand Down
4 changes: 3 additions & 1 deletion tests/TestPage.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Dynamic\flexslider\tests;
namespace Dynamic\FlexSlider\Test;

use Dynamic\FlexSlider\ORM\FlexSlider;
use SilverStripe\Dev\TestOnly;
Expand All @@ -16,4 +16,6 @@ class TestPage extends \Page implements TestOnly
private static $extensions = array(
FlexSlider::class,
);

private static $table_name = 'FlexsliderTestPage';
}

0 comments on commit ac1dbc9

Please sign in to comment.