Fomafix
3ee1560232
No yoda conditions
...
Replace
if ( 42 === $foo )
by
if ( $foo === 42 )
Change-Id: Ice320ef1ae64a59ed035c20134326b35d454f943
2018-11-21 17:54:39 +01:00
Kunal Mehta
b4ea2d8c81
Disable PHPUnit tests that fail under postgres
...
So we can make the job voting, preventing other tests from regressing.
These tests can be re-enabled whenever they're made to pass.
Bug: T195807
Change-Id: I58261dd70eea3581803987a4a7739c7d55558f42
2018-08-01 22:22:15 +00:00
daniel
564257dc50
Blob can't be false
...
Change-Id: Ic06fcfaac71128c0ff7e9079685eac18206f2004
2018-06-20 17:32:35 +02:00
daniel
1b115fd022
Introduce SqlBlobStore::makeAddressFromTextId
...
This introduces a convenience method for constructing a blob address
from a text ID. It's the inverse of SqlBlobStore::getTextIdFromAddress
Change-Id: I31b3ee5e40185c754fb2c119eb5edc50b903f5dc
2018-04-19 17:23:59 +00:00
addshore
4b928c87dc
Extra tests for SqlBlobStore with 'windows-1252' legacy encoding
...
Bug: T184749
Change-Id: Ida717dbe6ae742b3b61f0f09dc60712307c53a96
2018-01-24 22:08:46 +00:00
Umherirrender
84b9564e50
SqlBlobStoreTest: Use utf-8 as name in iconv
...
utf8 is an alias that doesn't work with all PHP installations.
Change-Id: I6ce9c5b4ece1a8c263afb1d4895dacd3c790a51a
2017-12-15 19:56:48 +01:00
Kunal Mehta
471ec51c93
Fix @covers tags to use absolute class names in Storage tests
...
PHPUnit doesn't support use statements when evaluating @covers tags.
Change-Id: I7f649afd3e417a6b71b2f61c6ff59be5f404be8f
2017-12-14 19:20:51 -08:00
addshore
06127159e8
[MCR] Tests for RevisionStore & Related classes
...
Code introduced in:
I140f43a6fb443b38483f41f268c906b9cea64cf7
Change-Id: Iefad870baf2d16f12e9901b303246c64d6431ca6
2017-12-14 13:44:55 +00:00