Permalink
Browse files

Removing bootstrap file and updating .gitignore to ignore Composer stuff

  • Loading branch information...
mtdowling committed Mar 6, 2013
1 parent eff730b commit ab7e23113cd6c5dbbd8acbd1239bd8ee853b915f
Showing with 2 additions and 26 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 phpunit.xml.dist
  3. +0 −25 tests/bootstrap.php
View
@@ -1,3 +1,4 @@
nbproject
coverage
phpunit.xml
+vendor
View
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<phpunit bootstrap="./tests/bootstrap.php"
+<phpunit bootstrap="./vendor/autoload.php"
colors="true"
processIsolation="false"
stopOnFailure="false"
View
@@ -1,25 +0,0 @@
-<?php
-
-namespace Cron\Tests;
-
-error_reporting(E_ALL | E_STRICT);
-
-require_once 'PHPUnit/TextUI/TestRunner.php';
-
-$prefix = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR
- . 'src' . DIRECTORY_SEPARATOR . 'Cron' . DIRECTORY_SEPARATOR;
-
-foreach (array(
- 'FieldFactory.php',
- 'FieldInterface.php',
- 'AbstractField.php',
- 'CronExpression.php',
- 'DayOfMonthField.php',
- 'DayOfWeekField.php',
- 'HoursField.php',
- 'MinutesField.php',
- 'MonthField.php',
- 'YearField.php'
-) as $class) {
- require_once $prefix . $class;
-}

0 comments on commit ab7e231

Please sign in to comment.