]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
ActivityGenerationTests.php fails but doesn't crash anymore.
authorNym Coy <nymcoy@gmail.com>
Tue, 9 Aug 2016 04:12:25 +0000 (09:42 +0530)
committerNym Coy <nymcoy@gmail.com>
Sun, 14 Aug 2016 06:25:49 +0000 (11:55 +0530)
commit1f866fcaed27a5ebc5973d12699dba1b14911b3f
tree85b9025f91b34ea44df0dd2c6225f6aeb02a71f8
parent563b3b1328c5fdb449847d2758cba47a06d7cf8b
ActivityGenerationTests.php fails but doesn't crash anymore.

Fixed an error where a profile id was reused after another profile was
deleted, and the new profile still had the deleted role.

Fixed ActivityGenerationTests::testNoticeInfoRepeated() which was passing
User instead of Profile, throwing errors.

tests/ActivityGenerationTests.php now passes.

CommandInterpreterTest now passes.

Moved JidValidateTest to XmppValidateTest, since Jabber functionality has
moved to the XmppPlugin. Tests work but don't pass, but they are at least
skipped if XmppPlugin is not active.

LocationTest passes, but the tests are not very good. Lots of nulls.

MediaFileTest passes.

NicknameTest passes. Nickname::normalize() now throws an error if the
nickname is too long with underscores.

UserFeedParseTest passes.

URLDetectionTest passes if $config['linkify']['(bare_ipv4|bare_ipv6|
bare_domains)'] are false. Untested otherwise.

Fixed Nickname::isBlacklisted() so it does not throw an error if
$config['nickname]['blacklist'] not set.
13 files changed:
classes/Profile.php
classes/User.php
lib/command.php
lib/nickname.php
plugins/Oembed/OembedPlugin.php
tests/ActivityGenerationTests.php
tests/CommandInterperterTest.php
tests/JidValidateTest.php [deleted file]
tests/LocationTest.php
tests/MediaFileTest.php
tests/URLDetectionTest.php
tests/UserFeedParseTest.php
tests/XmppValidateTest.php [new file with mode: 0644]