PHP Classes

File: tests/bootstrap.php

Recommend this page to a friend!
  Classes of Ladislav Vondracek   PHP Moment Date   tests/bootstrap.php   Download  
File: tests/bootstrap.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Moment Date
Parse, manipulate and format dates
Author: By
Last change: Update of tests/bootstrap.php
Date: 11 months ago
Size: 294 bytes
 

Contents

Class file image Download
<?php

require __DIR__ . '/../src/MomentPHP/MomentPHP.php';
require
__DIR__ . '/../vendor/autoload.php';

if (!
class_exists('Tester\Assert')) {
  echo
"Install Nette Tester using `composer update --dev`\n";
  exit(
1);
}

\
Tester\Environment::setup();

ini_set('date.timezone', 'Europe/London');