Use proper QTest initialization method in TestGitStorage

Method originally called testSetup is more a precondition
to test execution rather than an actual test.
QTest recommends to use initTestCase for that purpose.

Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
This commit is contained in:
Jeremie Guichard 2017-03-03 13:25:23 +07:00 committed by Dirk Hohndel
parent 7329629b6e
commit 16a321d43b
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ class TestGitStorage : public QObject
{
Q_OBJECT
private slots:
void testSetup();
void initTestCase();
void testGitStorageLocal_data();
void testGitStorageLocal();
void testGitStorageCloud();