1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-22 08:19:52 +01:00

51 Commits

Author SHA1 Message Date
Francois Zaninotto
585d999e87 Remove nl_NL unit test, which doesn't really test what the class does. 2013-06-09 19:20:07 +02:00
Francois Zaninotto
7b0f8cf831 Merge pull request #135 from Dynom/fixingnlNLPerson
Fixed the nl_NL Person provider.
2013-06-09 10:19:15 -07:00
Mark van der Velden
2050a80dca Cleaning up and adding some documentation about the test procedure. 2013-05-20 20:50:11 +02:00
Mark van der Velden
ca49cc2c39 Added the common denominator test 2013-05-20 20:50:10 +02:00
Mark van der Velden
9ef7d03761 Fixing the test. 2013-05-18 17:39:10 +02:00
Mark van der Velden
fff49bb3ed Fixed the nl_NL Person provider. 2013-05-18 17:30:43 +02:00
Mark van der Velden
2a8258728b Removed all requires and added the autoload definition to composer. 2013-05-18 16:53:58 +02:00
Charles SANQUER
6e563b81cc add Random Float method 2013-02-20 14:59:46 +01:00
Maik Penz
9870a9c926 Adjusted test to new seed range. 2013-02-05 21:33:15 +01:00
Maik Penz
965367c8c4 uuid provider and test 2013-02-05 17:13:54 +01:00
Francois Zaninotto
a3ae3c9a43 Fix broken unit tests by b502129bd10799c15eae4e991bdb44b6f6500d8b
Refs #97
2013-01-01 15:57:55 +01:00
Francois Zaninotto
3fccf09ae1 Fix warning in documentor 2013-01-01 15:51:54 +01:00
Alexandre Segura
91e87aa0e0 Company Provider for french locale now returns valid SIREN/SIRET codes which verify the Luhn algorithm.
Added PHPUnit constraint to assert that a string is a valid code.
2012-12-18 20:37:52 +01:00
Francois Zaninotto
7c26827802 Code cleanup
PAssed php-cs-fixer, fixed commas
2012-12-10 16:03:57 +01:00
toin0u
6bfc1a4e3b Cleaned: whitespaces 2012-11-10 12:31:37 +01:00
Jordi Boggiano
9e8d2b5548 Add tests 2012-10-27 11:42:23 +02:00
Benjamin Laugueux
707cf049ad Removed echo in UserAgentTest. 2012-09-14 17:57:58 +02:00
Benjamin Laugueux
ba39896acc Added new UserAgent provider. 2012-09-14 17:53:16 +02:00
Geoffrey Brier
8827d8f0ef Merge remote-tracking branch 'upstream/master' 2012-08-09 19:54:40 +02:00
Geoffrey Brier
a10417da99 Simplication of the catchPhrase formatter 2012-08-09 19:01:07 +02:00
Francois Zaninotto
f3d296e385 Update Lorem provider to remove WTF effect.
`Lorem::words()`, and `Lorem::sentences()` can now return an exact number of words or paragraphs thanks to a second parameter.
`Lorem::text()` now works for small number of characters by being smarter.

Closes #47.
2012-07-10 16:43:46 +02:00
Geoffrey Brier
4d9caf2a7b Added tests on company siret method (fr_FR) 2012-06-08 20:36:44 +02:00
Geoffrey Brier
e9a90aec0b Improved unit tests 2012-05-31 11:06:04 +02:00
Geoffrey Brier
a3450aa96c Fixed indentation (LoremTest) 2012-05-25 16:58:45 +02:00
Geoffrey Brier
3d5dc35491 Added tests 2012-05-25 16:44:39 +02:00
Francois Zaninotto
606ee1a981 Add test for not null digit generator 2012-04-14 21:25:47 +02:00
Francois Zaninotto
5cc1162da1 Add a way to test localized providers 2012-04-14 19:50:13 +02:00
Francois Zaninotto
73180ceac4 Fix Lorem::text() to take newlines into account.
Closes #28
2012-02-10 18:31:55 +01:00
Francois Zaninotto
cab6806cce Explicit the use of the boolean() provider to vary the type of data generated 2011-10-30 13:26:51 +01:00
Francois Zaninotto
c852326dbd fix the autoloader 2011-10-25 22:49:57 +02:00
yohang
65cad9868b Reverted require statements in standalone scripts 2011-10-25 16:57:44 +02:00
yohang
add655eca7 Removed require statements 2011-10-25 16:12:09 +02:00
Francois Zaninotto
9287247053 Faker\Generator::addProvider() now allows to override default formatters 2011-10-24 00:30:48 +02:00
Francois Zaninotto
1bf9752a74 make BaseProvider methods public, and therefore accessible as formatters 2011-10-24 00:19:35 +02:00
Francois Zaninotto
c584886afd Document the new ORM feature 2011-10-23 23:03:22 +02:00
Francois Zaninotto
3ab8593d6e Allow a Populator to specify a custom formatter for each entity columns 2011-10-23 21:40:53 +02:00
Francois Zaninotto
ec5d905c48 Refactor Propel ORM populator 2011-10-23 21:40:53 +02:00
Francois Zaninotto
844c782436 Simplify ORM populator 2011-10-23 21:40:53 +02:00
Francois Zaninotto
3e6def385c testing ORM Faker 2011-10-23 21:40:53 +02:00
Francois Zaninotto
d971e45ad7 Change directory structure to comply with PSR-0.
Refs #7.
2011-10-17 14:26:36 +02:00
Francois Zaninotto
06f934bd0a Update example to the latest text() capabilities 2011-10-16 23:06:54 +02:00
Francois Zaninotto
70fb097d6b Modify documentor to document arguments 2011-10-16 22:32:42 +02:00
Francois Zaninotto
278660f004 Introducing Internet provider.
Closes #1.
2011-10-15 21:56:49 +02:00
Francois Zaninotto
226257de22 Refactor documentation, add seeding capabilities 2011-10-15 21:11:26 +02:00
Francois Zaninotto
cd9a008559 fix formatter list formatting (!) 2011-10-15 14:18:28 +02:00
Francois Zaninotto
ef74dae5d8 Document all formatters.
Closes #3.
2011-10-15 14:13:20 +02:00
Francois Zaninotto
264d755644 add a documentor class to introspect generator capabilities 2011-10-15 14:02:17 +02:00
Francois Zaninotto
9ed3a255a7 Fix unit tests after previous refactoring 2011-10-15 13:29:33 +02:00
Francois Zaninotto
0e485bb1c5 move basic randomizer methods to BaseProvider 2011-10-15 13:21:13 +02:00
Francois Zaninotto
aa6f9386d9 Improved first contact with the library 2011-10-15 01:11:42 +02:00