Lines Matching refs:history
54 $history = $user->getPreference('rate-limit');
55 static::assertCount(1, explode(',', $history));
58 $history = $user->getPreference('rate-limit');
59 static::assertCount(2, explode(',', $history));
62 $history = $user->getPreference('rate-limit');
63 static::assertCount(3, explode(',', $history));
72 $history = implode(',', range(time() - 35, time() - 31));
73 $user->setPreference('rate-limit', $history);
76 $history = $user->getPreference('rate-limit');
77 static::assertCount(6, explode(',', $history));
86 $history = implode(',', range(time() - 5, time() - 1));
87 $user->setPreference('rate-limit', $history);