File tree Expand file tree Collapse file tree 7 files changed +18
-6
lines changed Expand file tree Collapse file tree 7 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 11/.idea
22/vendor
33/composer.lock
4- /phpunit.phar
4+ /phpunit.phar
5+ /composer.phar
Original file line number Diff line number Diff line change 1919 "require" : {
2020 "php" : " >=5.3.0"
2121 },
22+ "require-dev" : {
23+ "phpunit/phpunit" : " ^4.7"
24+ },
2225 "autoload" : {
2326 "psr-0" : {
2427 "Cmfcmf\\ " : " "
Original file line number Diff line number Diff line change 55
66 <testsuites >
77 <testsuite name =" cmfcmf/openweathermap-php-api test suite" >
8- <directory suffix =" Test.php" >.</directory >
8+ <directory suffix =" Test.php" >./tests </directory >
99 </testsuite >
1010 </testsuites >
1111
Original file line number Diff line number Diff line change 1616 * @see http://openweathermap.org/appid
1717 */
1818
19- namespace Cmfcmf \OpenWeatherMap \Fetcher ;
19+ namespace Cmfcmf \OpenWeatherMap \Tests \Fetcher ;
20+
21+ use \Cmfcmf \OpenWeatherMap \Fetcher \CurlFetcher ;
2022
2123/**
2224 * @requires function curl_version
Original file line number Diff line number Diff line change 1616 * @see http://openweathermap.org/appid
1717 */
1818
19- namespace Cmfcmf \OpenWeatherMap \Fetcher ;
19+ namespace Cmfcmf \OpenWeatherMap \Tests \Fetcher ;
20+
21+ use \Cmfcmf \OpenWeatherMap \Fetcher \FileGetContentsFetcher ;
2022
2123class FileGetContentsFetcherTest extends \PHPUnit_Framework_TestCase
2224{
Original file line number Diff line number Diff line change 1212 * information regarding copyright and licensing.
1313 */
1414
15- namespace Cmfcmf \OpenWeatherMap \Util ;
15+ namespace Cmfcmf \OpenWeatherMap \Tests \Util ;
16+
17+ use Cmfcmf \OpenWeatherMap \Util \Sun ;
1618
1719class SunTest extends \PHPUnit_Framework_TestCase
1820{
Original file line number Diff line number Diff line change 1212 * information regarding copyright and licensing.
1313 */
1414
15- namespace Cmfcmf \OpenWeatherMap \Util ;
15+ namespace Cmfcmf \OpenWeatherMap \Tests \Util ;
16+
17+ use \Cmfcmf \OpenWeatherMap \Util \Unit ;
1618
1719class UnitTest extends \PHPUnit_Framework_TestCase
1820{
You can’t perform that action at this time.
0 commit comments