Skip to content

Commit

Permalink
Workaround for puli/issues#190
Browse files Browse the repository at this point in the history
  • Loading branch information
mekras committed Jun 14, 2016
1 parent 3de7173 commit 10d8030
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="vendor/autoload.php">
<phpunit colors="true" bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Curl Client Test Suite">
<directory>tests/</directory>
Expand Down
10 changes: 10 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

$loader = require __DIR__ . '/../vendor/autoload.php';

// Temporary fix for Puli
$loader->addClassMap(
[
'Puli\\GeneratedPuliFactory' => __DIR__ . '/../.puli/GeneratedPuliFactory.php'
]
);

0 comments on commit 10d8030

Please sign in to comment.