File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 4646 - cd tests/unit/
4747 - phpunit --configuration phpunit.xml
4848 - name : php7.3
49- image : nextcloudci/php7.3:php7.3-1
49+ image : nextcloudci/php7.3:php7.3-5
5050 environment :
5151 APP_NAME : user_saml
5252 CORE_BRANCH : master
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class ApplicationTest extends \Test\TestCase {
3434 /** @var \OCP\AppFramework\IAppContainer */
3535 protected $ container ;
3636
37- protected function setUp () {
37+ protected function setUp (): void {
3838 parent ::setUp ();
3939 $ this ->app = new Application ();
4040 $ this ->container = $ this ->app ->getContainer ();
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class SAMLControllerTest extends TestCase {
6161 /** @var SAMLController */
6262 private $ samlController ;
6363
64- public function setUp () {
64+ protected function setUp (): void {
6565 parent ::setUp ();
6666
6767 $ this ->request = $ this ->createMock (IRequest::class);
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class OnlyLoggedInMiddlewareTest extends \Test\TestCase {
3535 /** @var OnlyLoggedInMiddleware */
3636 private $ onlyLoggedInMiddleware ;
3737
38- public function setUp () {
38+ protected function setUp (): void {
3939 $ this ->reflector = $ this ->createMock (IControllerMethodReflector::class);
4040 $ this ->userSession = $ this ->createMock (IUserSession::class);
4141 $ this ->onlyLoggedInMiddleware = new OnlyLoggedInMiddleware (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class AdminTest extends \Test\TestCase {
3737 /** @var IConfig|\PHPUnit_Framework_MockObject_MockObject */
3838 private $ config ;
3939
40- public function setUp () {
40+ protected function setUp (): void {
4141 $ this ->l10n = $ this ->createMock (IL10N ::class);
4242 $ this ->defaults = $ this ->createMock (Defaults::class);
4343 $ this ->config = $ this ->createMock (IConfig::class);
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class SectionTest extends \Test\TestCase {
3232 /** @var IURLGenerator|\PHPUnit_Framework_MockObject_MockObject */
3333 private $ urlGenerator ;
3434
35- public function setUp () {
35+ protected function setUp (): void {
3636 $ this ->l10n = $ this ->createMock (\OCP \IL10N ::class);
3737 $ this ->urlGenerator = $ this ->createMock (IURLGenerator::class);
3838 $ this ->section = new \OCA \User_SAML \Settings \Section (
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class UserBackendTest extends TestCase {
5454 /** @var \PHPUnit_Framework_MockObject_MockObject|ILogger */
5555 private $ logger ;
5656
57- public function setUp () {
57+ protected function setUp (): void {
5858 parent ::setUp ();
5959
6060 $ this ->config = $ this ->createMock (IConfig::class);
You can’t perform that action at this time.
0 commit comments