Browse Source

Works with test and stuff.

Until there's solution to composer/composer#6768.
pull/1831/head
nanaya 1 year ago
parent
commit
8802f53af9
3 changed files with 10 additions and 2 deletions
  1. 1
    1
      .travis.yml
  2. 8
    0
      bin/phpunit
  3. 1
    1
      bootstrap/autoload.php

+ 1
- 1
.travis.yml View File

@@ -32,4 +32,4 @@ before_install:
32 32
   - ./bin/db_setup.sh
33 33
   - ./build.sh
34 34
 
35
-script: ./vendor/bin/phpunit
35
+script: ./bin/phpunit

+ 8
- 0
bin/phpunit View File

@@ -0,0 +1,8 @@
1
+#!/usr/bin/env php
2
+<?php
3
+
4
+require_once __DIR__.'/../app/framework_helper_overrides.php';
5
+
6
+// This will print the first shebang line in the file because it's called
7
+// from here instead of shell.
8
+require_once __DIR__.'/../vendor/bin/phpunit';

+ 1
- 1
bootstrap/autoload.php View File

@@ -3,7 +3,7 @@
3 3
 define('LARAVEL_START', microtime(true));
4 4
 
5 5
 // fixes some laravel features.
6
-require __DIR__.'/../app/framework_helper_overrides.php';
6
+require_once __DIR__.'/../app/framework_helper_overrides.php';
7 7
 
8 8
 /*
9 9
 |--------------------------------------------------------------------------

Loading…
Cancel
Save