Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 35f0d11

Browse files
behzadshReza Shadman
authored andcommitted
Fix autoloading in test environment
1 parent 1a4cd18 commit 35f0d11

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"Quince\\Pelastic\\": "src/"
2121
}
2222
},
23+
"autoload-dev": {
24+
"psr-4": {
25+
"Quince\\Pelastic\\Tests\\": "test/"
26+
}
27+
},
2328
"require": {
2429
"danielstjules/stringy": "~1.9",
2530
"guzzlehttp/guzzle": "~5.3"

tests/bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<?php
22

33
require_once rtrim(__DIR__, '/') . '/Unit/BaseTestCase.php';
4+
require_once rtrim(__DIR__, '/') . '/../vendor/autoload.php';

0 commit comments

Comments
 (0)