Commit Graph

17 Commits (bbba7bc45acdbfb7d69edf7998db2cd8871682bd)

Author SHA1 Message Date
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 1088068c60
Remove \OCP\Files::tmpFolder 8 years ago
Morris Jobke 44289ff134
Use proper method to format absolute timestamp 8 years ago
Roeland Jago Douma 8a41d05761
Remove deprecated \OCP\Config 8 years ago
Morris Jobke be4e921306
Use basename() instead of self implementation 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Morris Jobke c27498db71 Use IConfig instead of static OCP\Config 9 years ago
Vincent Petry 1c771c097a
Use regex to detect part files 9 years ago
Felix Epp 1614b310ef Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_env 9 years ago
Roeland Jago Douma 83e7cfd13a
Fix more tests 9 years ago
Joas Schilling 122edcd0c1
Make sure all tests use the TestCase method to overwrite services 9 years ago
Roeland Jago Douma 368f407698
Fix getMock UtilTest 9 years ago
Roeland Jago Douma 8d739f308b
Some UtilTests require DB 10 years ago
Morris Jobke c2d88a08b7
Remove unneeded checks if it runs on a Windows machine 10 years ago
Joas Schilling 9a4253ef7c
Fix lib/ 10 years ago
Roeland Jago Douma 759b19775d Fix unit tests 10 years ago
Lukas Reschke a977465af5 Add new CSRF manager for unit testing purposes 10 years ago
Roeland Jago Douma e01a488b31 Remove generateRandomBytes from OC_Util 10 years ago
Morris Jobke ed98cdf532 Use OCP\Util::getVersion instead of the internal private implementation 10 years ago
Lukas Reschke 6d3eb7673d Add unit test for nested arrays 10 years ago
Morris Jobke d331e0d4f8 Replace OC_Config in tests with IConfig calls 10 years ago
Lukas Reschke 2515cb17be Support pretty URLs 10 years ago
Thomas Müller 56170dd825 Further unit test suite tweats 10 years ago
Morris Jobke 32ab973254 add unit tests for OC_Util::add* methods 10 years ago
Thomas Müller c565a7b042 Fix failing unit test 💀 10 years ago
Thomas Müller 9ec2850c78 Use mocks when testing isSharingDisabledForUser 10 years ago
Lukas Reschke 8133d46620 Remove dependency on ICrypto + use XOR 10 years ago
Thomas Müller b2dd5cb616 save excluded groups in json format - fixes #10983 10 years ago
Individual IT Services fbe43e6a26 cache result of \OCP\Util::needUpgrade() 10 years ago
Lukas Reschke 8313a3fcb3 Add mitigation against BREACH 11 years ago
Joas Schilling 0fcd273714 Select the timezone on the right timestamp and assert it 11 years ago
Lukas Reschke 65202d2a18 Add check for activated local memcache 11 years ago
Robin McCorkell 1511a42da7 Check for relative datadirectory path 11 years ago
Joas Schilling 1686653fdd The iran timezone removed the DST handling which breaks the timezone lib 11 years ago
Joas Schilling 276d678080 Etc timezones don't exist for .5 and .75 offsets 11 years ago
Robin Appelman 5542fafd36 allow overwriting the appmanager in oc_util by subclassing 11 years ago
Joas Schilling 26100a6dfb Move timezone logic out of server.php 11 years ago
Joas Schilling 4d232e536e Deprecate Util::formatDate() 11 years ago
Morris Jobke 0d4f0ab871 reduce OC_Preferences, OC_Config and \OCP\Config usage 11 years ago
Joas Schilling ea4c25609d Replace uniqid calls with $this->getUniqueID so tests pass again on windows 11 years ago
Joas Schilling cb3a598cdb Make root tests extend the \Test\TestCase 11 years ago
Thomas Müller 69db442c49 fixing expected values for formatDate() unit tests 11 years ago
Lukas Reschke 1565d82b81 Use only lower-case letters 11 years ago
Thomas Müller 814114ab8e enhance formatDate function to accept an optional argument containing the time zone 11 years ago
Thomas Müller 007802121c requesttoken has now a length of 30 chars 11 years ago
Vincent Petry 9d5f18c02f Added test for needUpgrade for core 11 years ago
Vincent Petry e05b95636b Fix upgrade process when apps enabled for specific groups 11 years ago
Vincent Petry 7c17452028 Added unit test for default app URL 12 years ago