Skip to content

Commit

Permalink
Define timezone on phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent4vx committed Dec 14, 2021
1 parent 390f35d commit 0f9a2eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -22,7 +22,7 @@
},
"minimum-stability": "dev",
"require": {
"php": ">=7.1",
"php": "~7.1 || ~8.0.0",
"ext-json": "*",
"b2pweb/bdf-prime": "~1.0|~2.0",
"b2pweb/bdf-collections": "~1.1.2"
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="vendor/autoload.php"
<phpunit bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
Expand Down
6 changes: 6 additions & 0 deletions tests/bootstrap.php
@@ -0,0 +1,6 @@
<?php

require_once __DIR__ . '/../vendor/autoload.php';

date_default_timezone_set('Europe/Paris');

0 comments on commit 0f9a2eb

Please sign in to comment.