Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/YOURLS/YOURLS-unit-tests

YOURLS Unit Tests
https://github.com/YOURLS/YOURLS-unit-tests

Merge pull request #10 from open-source-contributions/fix_travis_ci

Fix Travis CI build

dccc12a753bf0fd5e9630fbb943d4bf1b77569b7 authored over 5 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Fix Travis CI build

7c9d8750640150d8206da35b5e56323c1f3040e3 authored over 5 years ago by peter279k <[email protected]>
Remove "Remove xdebug"

We don't care if it speeds things up [skip ci]

318a59408bad2576b860f9c1a4f77752207ca8d8 authored about 7 years ago by ozh <[email protected]>
Merge pull request #9 from YOURLS/checkbranch

Match YOURLS & tests branches

e1debd8a0d92d9af68d2ba0c963f3764b8e52e56 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Remove xdebug

981823551b8c5a7c7644276e1d983bf1bf75a186 authored over 7 years ago by ozh <[email protected]>
Listing branches doesn't work. Alt way.

6c228dd1dc4ae2bf468c98d180c574ac33c0c22b authored over 7 years ago by ozh <[email protected]>
Same branch in YOURLS and YOURLS tests

2085d5493fd0328a65bcf6fea26ed344ca234a5a authored over 7 years ago by ozh <[email protected]>
Rename class [skip ci]

78a856db0e19eb09c578dc1436ed92133ef01e11 authored over 7 years ago by ozh <[email protected]>
More config test

[skip ci]

d5d676bac76b160d2ecbd09db6091712e93106a5 authored over 7 years ago by ozh <[email protected]>
English, motherfucker, do you speak it

[skip ci]

6fa3feab05e6e30115c6ae4272f989fe9f0273e7 authored over 7 years ago by ozh <[email protected]>
Old PHP compat syntax

[skip ci]

c62cc7ebe2f24d18d90969a1b65a04b83fbd4c2c authored over 7 years ago by ozh <[email protected]>
More trivial tests

[skip ci]

56c729686f20cf2a5003f83413206e47916077ab authored over 7 years ago by ozh <[email protected]>
Travis & sample config

[skip ci]

9b23bd5c22a5249ac918d402c687504169d4f037 authored over 7 years ago by ozh <[email protected]>
Refactor test bootstrapping

[skip ci]

83120039ce4583d20fcf04c887f007642f374b1e authored over 7 years ago by ozh <[email protected]>
self::, not $this. Bleh.

59c3915c1072d217a3ede9b2606f87fad536abfd authored over 7 years ago by ozh <[email protected]>
Make auth test dynamic in test class, not config

bcfeba9f15f4cd0893a99655ccdb2af18e344ebf authored over 7 years ago by ozh <[email protected]>
Merge branch 'master' of https://github.com/YOURLS/YOURLS-unit-tests

dbdadc96612429d2d67616491e90ef7fe203cdee authored over 7 years ago by ozh <[email protected]>
Update URL formatting tests

Some were silly, some were questionable.

[skip ci]

e12966300c7f14e3d951d321b221f2eff6520fc2 authored over 7 years ago by ozh <[email protected]>
PHPunit log was incomplete

[skip ci]

b629984a88bf70e6200dbdc13cc57f29656324b2 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Slightly rework the README

[skip ci]

bc7e71ff8c015c1af26bebe21b62aabf32c73964 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Fix test matrix for PHP 5.3

d258fbf5b628cd825ba9a6a10aee09b2b97d7912 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Use phpunit as provided by Travis images

$ which phpunit
/home/travis/.phpenv/shims/phpunit

[skip ci]

6881342b528cf81219b3babb2a20c3af98784fde authored over 7 years ago by ozh <[email protected]>
Autoload conflit... Hmmm... This?

[skip ci]

db97a8ce3a3b8a98853598ff3d89133a96a6bb28 authored over 7 years ago by ozh <[email protected]>
Force require autoload

[skip ci]

241ddf9bcd59dff90ee3904dd5027d6ed333ec0f authored over 7 years ago by ozh <[email protected]>
Merge pull request #8 from YOURLS/aurasql

Rewrite some tests for 1.7.3

6d337c77e328c9fa21aac8680a8d7f1dbff55d40 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Update tests for 1.7.3

[skip ci]

6a20a438db27fcab0c101e049f7c58bafe21cfd9 authored over 7 years ago by ozh <[email protected]>
Updating test for next YOURLS version

[skip ci]

766ebeb0142bf5f2c436c0ee06658f062012b2fe authored over 7 years ago by ozh <[email protected]>
Data provider for readability of failed results

[skip ci]

08b3fa6493c23297031bed1c672e6ab1a1dfed9d authored over 7 years ago by ozh <[email protected]>
A few more GeoIP tests

7d38da9968b801338cd0e4f109dd5e4dcac5564d authored over 7 years ago by ozh <[email protected]>
Add lots of misc tests

2fdf014dbf42a6045384633e49418c14422f4e71 authored over 7 years ago by ozh <[email protected]>
yourls_get_request() tests

c04ad1c9065c34e7be014b93a6793ce8ac4117a1 authored over 7 years ago by ozh <[email protected]>
Reorganize files and add test groups

b51cfac5caf7682e9511f946cc7c2408ffa4f87e authored over 7 years ago by ozh <[email protected]>
Test for 7.2

39ca5e40fcd1dc1e6511d59ce98e1bc7d42cc034 authored over 7 years ago by ozh <[email protected]>
Fix mock & PHP 7.2 test hopefully

8eb9acecc4ec8a6c5a7b8180d95578ea01db7821 authored over 7 years ago by ozh <[email protected]>
Remove instantiation tests

Makes no sense with autoloaders

[skip ci]

f956258884fcad62c3d0ac21c2f9f13619b2113b authored over 7 years ago by ozh <[email protected]>
Update phpass lib name

[skip ci]

ada7f18fdf606342dbf90481f3e0f83741041a50 authored over 7 years ago by ozh <[email protected]>
PHP 7.1 & hhvm

5fd67f1c67affdfde674d98f69e32c184b18b10a authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Merge pull request #7 from YOURLS/phpunit6compat

PHPUnit 6 compat stuff

In order to make different versions of PHP and PHPUnit coexist, you ei...

6b6d7607fd953da228b07743b2f296c3380bd79a authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
More error compatibility

8db6c144c86109b8c2dfd9f739e7009b65f05594 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
PHPUnit_Framework_Error

da04c635c088818467bbfa7f994297b22970f9de authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Giving a stab at the PHPUnit 6 compat stuff

List of class_alias from https://github.com/sebastianbergmann/phpunit/tree/5.7/src/ForwardCompat...

cdaa4c45ad977abf50ca71a6ecd9c243e7343251 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
This test is completely dumb.

We're not testing YOURLS, we're testing PHP. Plus, there's a non existent variable. Who wrote th...

2d92d86879b9febf6834b293df32e1655e5241d1 authored over 7 years ago by ozh <[email protected]>
No compat class for PHPUnit_Framework_Error

[skip ci]

e8aab553864c77f01be5d63d0db2eb4162a3885b authored over 7 years ago by ozh <[email protected]>
Attempt 668 at mixing PHPUnit 5 & 6

f9d673ff2638d3137966aca0d0f3ab137863d2a1 authored over 7 years ago by ozh <[email protected]>
Revert last commit

Didn't fix the tests on PHP 7.1,

6a399b47a3a5a495c3ced1199a1ea0df3e5f181d authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
\classname, is this required with PHP 7.1 ?

3488fd057a6946db9eea0c022b2296de92ecb981 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Remove unused class

This code has never been used, I'm not sure it's still up to date with latests PHPUnit. Good bye.

1f346444fb256cc302b0e4c77fc91e9d83270b84 authored over 7 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
More URL tests to reflect latest YOURLS commits

0eebe41ee477148cfe3b292ce369121852655668 authored almost 8 years ago by ozh <[email protected]>
Revert, that was dumb

0187c5dd9b11d81fd0566889e090cb5203dc48ec authored about 9 years ago by ozh <[email protected]>
Make AYO tests less dependent on AYO

bd53c2498f43afb52f0bdf98b6b3363fc86dc652 authored about 9 years ago by ozh <[email protected]>
Merge pull request #6 from YOURLS/php7

Travis PHP7

b50fe440ca6e9d52b0869f026498050b8554049a authored about 9 years ago by ozh <[email protected]>
Checking with Travis PHP7

6aa6baaf7af320aed9e49d994b4149b301136379 authored about 9 years ago by ozh <[email protected]>
New Travis infrastructure

https://docs.travis-ci.com/user/migrating-from-legacy/

1e96ef7acb87d9b2a3b40ba5bd095589e9d5ee58 authored about 9 years ago by ozh <[email protected]>
Don't fail all suite if 1 test fails

3d53788c04d77191c3e2a7fccd0e47a8ccc0515d authored about 9 years ago by ozh <[email protected]>
More password hash tests

106e2a038003f0c5cca61fe73a9e20d0904d5613 authored about 9 years ago by ozh <[email protected]>
Trim whitespace before sanitizing URL

553c7961965c985c0a7530b31febddd761c6e769 authored over 9 years ago by ozh <[email protected]>
More formatting tests

f404cb29083ea5d5abf1558bfb9eb925535b69cc authored over 9 years ago by ozh <[email protected]>
More install tests

Testing the htaccess generation inside out.
functions-install.php now at 91% code coverage

d0b7cb4172d94f0586fc736f17eb868fb04bf906 authored over 9 years ago by ozh <[email protected]>
First install tests

5edc675a815b81235e1045f4f2ef29fb637b9b94 authored over 9 years ago by ozh <[email protected]>
DB tests

Will have to rewrite this when we change the DB driver

9736a518ac42f5ab56a801ab309746aa882d5fdb authored over 9 years ago by ozh <[email protected]>
ut_var_dump()

8142716cefe0a1a59d101769f261c29633d73579 authored over 9 years ago by ozh <[email protected]>
This, for some reason, increases coverage.

No fucking idea why.

a4986f725485d5f57a70df12c0ac04dc63bd64cc authored over 9 years ago by ozh <[email protected]>
Speed up things a little.

No need to set this before *each* test.

938138034c35b70d0a3921076ef47a18536b2b64 authored over 9 years ago by ozh <[email protected]>
More translation tests

Now 83% covered

004d620540fc695d595fbba20558c00f21a2fd98 authored over 9 years ago by ozh <[email protected]>
More translation tests

d238e67ac2e98d3937fe0a0b24ebc37017b1de13 authored over 9 years ago by ozh <[email protected]>
Make tests independent from a user defined locale

- don't expect the test user to specify a locale
- provide complete tests using provided transla...

c1beebade0c0f0a7e583918738dacde11c3cb361 authored over 9 years ago by ozh <[email protected]>
First translation tests

5457f26e11f14c3e3bbc4a786d89d7b96b281b00 authored over 9 years ago by ozh <[email protected]>
Ignore user defined XML config

bbd57fd75f34a81130595cd81ae042f57866b960 authored over 9 years ago by ozh <[email protected]>
Remove locale from user config

It's not a user config setting. It's part of the test suite and has to match the locale of the s...

9f4edfe2c90ef9c30638fc3f9958ce0d8137801c authored over 9 years ago by ozh <[email protected]>
API tests

4c1ce80625eaa127ef31b638dee78acce833dd85 authored over 9 years ago by ozh <[email protected]>
Actions with multiple parameters

Prepare for YOURLS/YOURLS#1203

d6fe8a77681b288e7b1000ead63afd48568a89a5 authored over 9 years ago by ozh <[email protected]>
Version checking tests

HTTP functions now covered at 93%

82fe27fb30079c71af3127d7168777093376306d authored over 9 years ago by ozh <[email protected]>
Proxy tests, inside out

fbbd7f531945012015894bda3810851a535fc18f authored over 9 years ago by ozh <[email protected]>
First HTTP tests

96b701c970db2109da8458d43923b0f8487744f3 authored over 9 years ago by ozh <[email protected]>
More tests.

Makes functions-formatting.php covered at 93%

8ef521ea37764e927af77f574a7200ee43494be4 authored over 9 years ago by ozh <[email protected]>
Lots of auth tests

To do so, we stop pretending we're in API mode, and we stop pretending we're requesting a partic...

d4cf2d4f7a1f81af1f5d1890c09fd887a630b7d8 authored over 9 years ago by ozh <[email protected]>
Unneeded global

f01c5fdd31451a941ad891c7616b1b747e701900 authored over 9 years ago by ozh <[email protected]>
One more test

functions-formatting.php now covered at 83%, not too bad

2bd4be1762b422f8c69d612ea1a159809cb1e086 authored over 9 years ago by ozh <[email protected]>
A couple more tests

898a4d7046632f22732358b9cf371878a19500fe authored over 9 years ago by ozh <[email protected]>
Couple more edge cases

3b72f9c322d09a5a390aca2856fdab77ea346639 authored over 9 years ago by ozh <[email protected]>
Tests, tests, more tests, EVEN MOAR TESTS

33a3fb631518c0d7c380f4847dcea8d25257816f authored over 9 years ago by ozh <[email protected]>
Add one more level to test recursiveness

d125e640904992e86921b6d07c646f0651db263d authored over 9 years ago by ozh <[email protected]>
More tests

b9070080503e2ac39b2d888334621f5db09ff15d authored over 9 years ago by ozh <[email protected]>
Refactor and rearrange tests

1153e464a8bed1c85e75e3070fa0bc76a419b4b4 authored over 9 years ago by ozh <[email protected]>
More tests

b26af8a69eb897355360bdddd989ce7eb5cc010c authored over 9 years ago by ozh <[email protected]>
More tests

f554906ca12091929b3bbe3c8ddd9b0997571349 authored over 9 years ago by ozh <[email protected]>
More tests

30198dafd34fee6c773a41b9696bc6a315b46fd1 authored over 9 years ago by ozh <[email protected]>
Fix test on PHP 5.3

7737d15c0f6418f67900b6b0f5478a0d8bf75267 authored over 9 years ago by ozh <[email protected]>
Moar tests.

Code coverage for functions-plugin.php is at 81% :clap:

695a13944664cb518fb0dc7ecb2483794e773540 authored over 9 years ago by ozh <[email protected]>
Fix test

840c5f2aa865033d213c97c81e0ae7f33b7ae5da authored over 9 years ago by ozh <[email protected]>
+ some moar tests, - some duplicated ones (duh)

5001ee74519c63056cd8079c5bdb2acfde2f090b authored over 9 years ago by ozh <[email protected]>
Ignore dir

Also, how about removing test & debug stuff? Duh.
Also,[skip ci] -- http://docs.travis-ci.com/us...

135bb8e353bad3dc493e6238b556a0fe1e8dd67c authored over 9 years ago by ozh <[email protected]>
One moar test

0d17fa5732ccaa9476444506c4fb71a59f4a17dd authored over 9 years ago by ozh <[email protected]>
Moar tests

8458ed8881bc7430db530e645556fbb38b8eaf0e authored over 9 years ago by ozh <[email protected]>
Unneeded annotations and useless function

bfc6a82639b0fdaaebd109a7ef4d3da7547b1f16 authored over 9 years ago by ozh <[email protected]>
Playing with filter priorities

b5b80b0710ff7b9fca6a513ef7603e7f542eb3a5 authored over 9 years ago by ozh <[email protected]>
Tests to remove filters

dcba0fc5d2d7fd282de96371e02c71f5c4500002 authored over 9 years ago by ozh <[email protected]>
More URL tests and refactoring

aafbddec3ca7abe9aedbacd2bc45d9e9cca23c0b authored over 9 years ago by ozh <[email protected]>
Remove "gay" from offensive keywords

See #1777 on YOURLS/YOURLS

35e85a5f5ebf6fa6c2bc280ab1b0438e70bb83cf authored over 9 years ago by ozh <[email protected]>
Update PHPunit

5a64588693edc6dedaad210d1c778ef4b5a6bf9d authored over 9 years ago by ozh <[email protected]>