Commit Graph

70 Commits

Author SHA1 Message Date
Benoît Burnichon
32b5ed5fb2 Default notification.deliverer should be no-op, not throw exception. 2016-05-19 14:40:36 +02:00
Benoît Burnichon
c14e48437d Refactor tests to use $this->getApplication().
Move LoginTest specific use case into LoginTest class
2016-05-19 14:39:05 +02:00
Thibaud Fabre
4ae762657e Update tests to mock event subscribers not mailers 2016-05-12 14:22:49 +02:00
Benoît Burnichon
1e18b3e69f This is a combination of 33 commits.
- Squashed Pull request #1730
- Squashed Pull request #1741
- Squashed Pull request #1742
- Squash merge branch 4.0
- Squashed Pull request #1744
- Squashed Pull request #1746
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed Pull request #1758
- Avoid using imagine/imagine alias as it is causing install issues
- Squashed merge branch 4.0
- Squashed Pull request #1763
- Squashed merge branch 4.0
- Squash of 6 commits
- Squashed merge branch 4.0
- This is a combination of 2 commits.
- Squashed Pull request #1775
- Squashed Pull request #1777
- Squashed Pull request #1779
- Squashed Pull request #1780
- Squashed Pull request #1782
- Adds a Pull request template
- Squased Pull request #1783
- Squash Pull request #1786
- Squashed Pull request #1796
- Squashed merge branch 4.0
- Squash Pull request #1791
- Squashed merge branch 4.0
- Squashed Pull request #1808
- Squashed Pull request #1811
- Squashed Pull request #1809
2016-04-20 16:22:14 +02:00
Benoît Burnichon
421e62d136 Typos in Users in RegenerateSqliteDb command.
PHPCS of tests
2016-03-22 16:09:38 +01:00
Benoît Burnichon
9078835ae8 Fix FailureManager tests and dependent AuthenticationManagerServiceProviderTest 2016-03-15 12:59:55 +01:00
Benoît Burnichon
e22a60afc5 Refactor tests using XmlHttpRequest 2016-03-11 20:00:52 +01:00
Thibaud Fabre
195b40ef40 Remove debug statement 2016-01-26 11:58:39 +01:00
Thibaud Fabre
88e2d5ff86 Replace call to non-existent method in tests and fix CS 2016-01-26 11:25:25 +01:00
Thibaud Fabre
c92d5da9fe Merge branch 'clean-boxes' into merge-clean-boxes 2016-01-06 19:53:43 +01:00
Benoît Burnichon
f6899f58be Remove debug mode in some Test cases. 2015-12-22 18:32:09 +01:00
Benoît Burnichon
b2ee2668a1 Change to be able to return called API version 2015-12-22 14:19:34 +01:00
Thibaud Fabre
329cf6ffe7 I am not worthy 2015-09-23 15:46:06 +02:00
Benoît Burnichon
de8657aabf Restore previous behaviour of get_duration. PHPCS 2015-07-10 11:56:18 +02:00
Thibaud Fabre
ea6a4fdbf0 Extract repository and factory classes for collections 2015-07-09 12:32:06 +02:00
Benoît Burnichon
f3834eb083 Add getFirstDatabox and getClient to PhraseanetTestCase 2015-07-08 11:08:07 +02:00
Benoît Burnichon
4cdca486d8 Add getApplication() method PhraseanetTestCase. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
a9160d62f6 Authentication linked test issues fixup 2015-07-02 12:33:19 +02:00
Benoît Burnichon
d645b92afa Add AclAware Trait 2015-07-02 12:33:18 +02:00
Benoît Burnichon
6e651f3b07 Replace app['phraseanet.appbox']->get_databox using trait 2015-07-02 12:27:26 +02:00
Benoît Burnichon
28fee99fc4 Add Form for ElasticSearch Configuration.
Also changed type from array to Options object.
2015-06-29 17:10:32 +02:00
Benoît Burnichon
d473a6f69c Fixup tests with proper clearing of cache. 2015-06-10 14:50:29 +02:00
Benoît Burnichon
cd7d8b5d3b Properly clear cache at end of tests. Avoid side-effects on others tests.
Also prevent flushing empty queues as it load mocked configuration
2015-06-09 11:12:01 +02:00
Benoît Burnichon
cdc7f743d5 Remove staticExpects to work with PHPUnit ~4.5 2015-03-17 13:08:27 +01:00
Benoît Burnichon
118bb2f03c Some fixup for ES instance 2015-03-11 15:22:20 +01:00
Nicolas Le Goff
9a3e92ed9c Multiple ORMs for all database 2015-02-12 17:58:45 +01:00
Nicolas Le Goff
de7988689e Update directory structure & allow to configure paths (tmp, log, cache) 2014-09-05 15:57:00 +02:00
Nicolas Le Goff
fcdc10c554 Fix latest merge 2014-07-17 15:11:26 +02:00
Nicolas Le Goff
24b885eb7c Fix tests 2014-07-03 15:07:35 +02:00
Nicolas Le Goff
7818a5e8e3 Concurrency tests 2014-06-30 15:12:01 +02:00
Nicolas Le Goff
0d040519f3 Add third party application webhook event 2014-06-23 17:48:42 +02:00
Nicolas Le Goff
1250f8ab0b Fix latest merge 2014-06-19 16:11:27 +02:00
Nicolas Le Goff
80bf2a2f57 Fix tests 2014-03-24 12:28:20 +01:00
Nicolas Le Goff
d1d936d8b8 Update ApiApplication method call 2014-03-24 12:28:17 +01:00
Nicolas Le Goff
53dda0b09e Delete references to API_OAuth2_Application class 2014-03-24 12:28:17 +01:00
Nicolas Le Goff
e317f86c51 Fix CS 2014-03-23 23:07:01 +01:00
Romain Neutron
8b6cb53a36 Add token entities 2014-03-05 15:27:43 +01:00
Romain Neutron
e3fbe08890 Merge branch '3.8'
Conflicts:
	tests/classes/PhraseanetPHPUnitAbstract.php
2014-03-05 14:59:41 +01:00
Romain Neutron
8e80271a51 Merge branch '3.8'
Conflicts:
	tests/classes/PhraseanetPHPUnitAbstract.php
2014-03-05 11:06:48 +01:00
Romain Neutron
4695054dcf Fix unit tests when running without phrasea2 extension 2014-03-03 19:26:44 +01:00
Romain Neutron
46141b3cc6 Add error reporting setting 2014-03-03 17:31:13 +01:00
Romain Neutron
92a4c35340 Substitute random string generator by Randomlib 2014-03-02 21:13:57 +01:00
Romain Neutron
894c5fe620 Fix unit tests 2014-03-01 14:37:56 +01:00
Romain Neutron
13e661c4b0 Remove ManipulatorInterface::getRepository method 2014-02-28 20:02:38 +01:00
Romain Neutron
d5e5c715d8 Make tests silent 2014-02-28 03:38:41 +01:00
Romain Neutron
c3ec4ab857 Merge pull request #900 from nlegoff/replace_demand
[3.9] Migrate registration table to doctrine entity && refactor registration API
2014-02-27 16:08:17 +01:00
Nicolas Le Goff
2ec4ffdbcc Refactor && Typo && Use plain objects as function parameters instead of ids 2014-02-26 12:10:54 +01:00
Romain Neutron
878c96f6d4 Add access restriction 2014-02-25 19:00:53 +01:00
Romain Neutron
5a5da77662 Use Doctrine DBAL instead of custom connection 2014-02-22 23:55:12 +01:00
Nicolas Le Goff
bd110bb8e7 Fix rebase master 2014-02-19 17:29:27 +01:00