William Desportes
252aebef48
Merge branch 'QA_4_8'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-26 23:37:53 +01:00
William Desportes
e1ebb641a6
Fix failing tests after merge of #14867
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-26 23:19:08 +01:00
Maurício Meneghini Fauth
92cc67fbf7
Replace assertContains() with assertStringContainsString()
...
Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
Using assertNotContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringNotContainsString() or assertStringNotContainsStringIgnoringCase() instead.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-24 16:32:28 -03:00
Maurício Meneghini Fauth
182491a73f
Add void return type declaration for tests
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-22 21:33:55 -03:00
Maurício Meneghini Fauth
23c3579804
Format array declarations
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-01-07 14:31:39 -02:00
Maurício Meneghini Fauth
ef5d7dd66b
Use Bootstrap buttons component
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-21 01:01:12 -02:00
Maurício Meneghini Fauth
9eba565bf4
Remove unnecessary HTML closing tags
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-19 00:12:54 -02:00
Maurício Meneghini Fauth
76d8bfdafa
Merge branch 'QA_4_8'
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-12 21:04:19 -02:00
William Desportes
ca8a424ed8
phpstan level 2 - Fix some tests
...
- Fix plugin tests
- Fix message tests
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-11-25 13:57:56 +01:00
Maurício Meneghini Fauth
e7e7d56c75
Retrieve parameters from $_POST in browse foreigners
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-11-10 20:48:59 -02:00
Maurício Meneghini Fauth
3d9ed655cc
Retrieve parameters from $_POST in insert/edit pages
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-11-10 20:48:58 -02:00
Maurício Meneghini Fauth
c04982d5c5
Upgrade PHPUnit to v7
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-11-03 20:47:45 -03:00
Mohammad Reza Mansouri
9e12c61055
consistent go button position ( #14680 )
...
* moves Go button to right on edit and insert tabs.
* moves Go button to right on import and export tabs.
Signed-off-by: beekalam <beekalam@gmail.com>
2018-11-03 17:53:17 -03:00
Gabriel Caruso
c1435d5b07
Use Null Coalesce Operator
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-09-07 22:59:37 -03:00
Lakshay arora
bdecea68df
Increase input field width for varchar ( #14379 )
...
* Increase input field width for varchar
* Changed test cases for insertEdit
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
2018-08-03 17:17:42 -03:00
Maurício Meneghini Fauth
2d58411bee
Some coding style fixes
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-06-18 21:30:06 -03:00
Maurício Meneghini Fauth
2005cca77f
Fix methods and properties visibility issues
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 21:02:26 -03:00
Maurício Meneghini Fauth
285e38e931
Fix some PSR-2 coding standard errors
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 09:07:56 -03:00
Maurício Meneghini Fauth
b9c0463d96
Use short array syntax instead of long array syntax
...
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 01:42:21 -03:00
Maurício Meneghini Fauth
dc8c92bfd8
Enable strict mode in test files
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 04:36:04 -03:00
William Desportes
e9d3fdd493
Binary foreign key enhancement #13894
...
Closes : #13894
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-05-02 15:23:42 +02:00
Maurício Meneghini Fauth
010c6aab57
Use DI for DatabaseInterface dependency
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-06 18:47:57 -02:00
Maurício Meneghini Fauth
76b0f64f21
Fix visibility of the methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-06 18:47:57 -02:00
Maurício Meneghini Fauth
e0b9ff1c00
Replace static methods with instance methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-06 18:47:56 -02:00
Maurício Meneghini Fauth
8e8956c0ef
Fix InsertEditTest broken tests
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-01-28 01:13:01 -02:00
Maurício Meneghini Fauth
05da8a4cea
Merge pull request #13876 from shucon/custom_row
...
Allow Custom number of rows to be inserted
Fix #13578
2018-01-27 15:46:06 -02:00
Saksham Gupta
b4b8c08847
Fix Test Cases
...
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2017-12-21 18:47:01 +05:30
Maurício Meneghini Fauth
12eb63fab0
Fix InsertEditTest global dependency
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-19 01:03:40 -02:00
Michal Čihař
379811702e
Fix test expectations to match current code
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15 08:50:26 +01:00
Michal Čihař
72f109a99c
Accept SQL query only from POST requests
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-14 10:34:45 +01:00
Michal Čihař
77f0d50bea
Add missing dependency on jquery.validate.js
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-29 15:09:43 +01:00
Michal Čihař
3b6a994dcd
Move collation connection setting to user preferences
...
It is now handled same way as other user settings.
Issue #11688
Issue #13466
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-29 14:16:31 +01:00
Michal Čihař
fd9150460e
Use fully CSS based icons
...
- themes can easier customize their look
- this better deals with previous JS code who relied on sprites (fixes #13815 )
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-27 13:47:43 +01:00
Michal Čihař
cedad5f931
Remove sprites from the themes
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-13 14:12:12 +01:00
Gabriel Caruso
45828153b6
Use PSR-1 for PHPUnit TestCase
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2017-11-06 06:29:04 -02:00
Michal Čihař
99e47a90d9
Always define correct connection type
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Scrutinizer Auto-Fixer
40f56c0a95
Remove not needed use statements
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-23 18:49:37 +02:00
Michal Čihař
d574aede08
Bind Types to DatabaseInterface
...
This wayt it's automatically passed with DBI.
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-10 12:05:02 +02:00
Michal Čihař
b5e391f006
Merge Types and TypesMySQL classes
...
These were separate from time we've supported Drizzle, but this no
longer makes sense.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-10 11:33:45 +02:00
Maurício Meneghini Fauth
df30240015
Add namespace to test classes
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-20 13:03:50 -03:00
Maurício Meneghini Fauth
e555b77946
Refactor file_listing functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-11 22:58:58 -03:00
Michal Čihař
a82f8fc768
Move databaase interface load to static method
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 14:46:56 +02:00
Maurício Meneghini Fauth
e2c83b954b
Refactor relation functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-08-22 20:51:27 -03:00
Maurício Meneghini Fauth
8a2dd938ef
Refactor insert_edit functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-08-19 20:55:52 -03:00