Aaron Schulz
88e17d3f7c
filerepo: make LocalRepo::getSharedCacheKey() use makeGlobalKey()
...
Also rename image_redirect key to file_redirect while at it.
This assures that stale keys are not still in use.
Bug: T253405
Change-Id: I31a9bb6672b33fbfa1b974955d78fdfd8d58f5da
2020-05-23 17:32:55 +00:00
Daimona Eaytoy
8545ce131a
Kill the remaining usages of PHPUnit4And6Compat methods
...
Bug: T192167
Change-Id: I1ea19e9b53683b7d32ff9836990ee73ab3e11104
2019-10-06 10:12:54 +00:00
Daimona Eaytoy
ef5ab69629
Replace setExpectedException with two args
...
Find: ^(\t*)(\$this->)setExpectedException\(\s+(\\?[a-z\\]+::class),\s+('(?:[^'\\]|\\')+'|"(?:[^"\\]|\\")+")\s+\);
Replace: $1$2expectException( $3 );\n$1\$this->expectExceptionMessage( $4 );
+broke long lines manually.
Bug: T192167
Change-Id: I5557b4372625def55a53ac637c2f980f51f12933
2019-10-05 16:14:05 +00:00
Marko Obrovac
f65beabcfd
LocalRepo: Remove leading 0 from 32-byte SHA1 keys
...
Bug: T230667
Change-Id: I3d9de7a92495e894b4b44b0a5b0646b6d720f7c2
2019-09-03 16:04:14 +02:00
Aryeh Gregor
9b90a1fde7
Add some LocalRepo integration tests
...
Coverage is still far from 100%, but better than nothing.
Change-Id: Ifb22491414653a5730a83434c4ea31a3540f7d26
2019-08-30 12:36:46 +03:00