Bump phpunit and fix CI

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-12-17 11:54:45 +01:00
parent f575202a8a
commit 4c0512f0b7
42 changed files with 159 additions and 209 deletions

View File

@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*
*/
namespace OCA\Deck\Db;
@@ -47,7 +47,7 @@ class AttachmentMapperTest extends MapperTestUtility {
private $attachments;
private $attachmentsById = [];
public function setup(){
public function setup(): void {
parent::setUp();
$this->userManager = $this->createMock(IUserManager::class);
@@ -138,11 +138,11 @@ class AttachmentMapperTest extends MapperTestUtility {
}
}
public function tearDown() {
public function tearDown(): void {
parent::tearDown();
foreach ($this->attachments as $attachment) {
$this->attachmentMapper->delete($attachment);
}
}
}
}