### ----------------------------------------------------
### -- Pleroma
### -- Licenses: NOASSERTION
### -- Authors: qorg11
### -- File: t/01-basic.rakutest
### ----------------------------------------------------
#!/usr/bin/rakudo

use Test;
use Pleroma;

my $pl = Pleroma::Pleroma.new("https://pl.qorg11.net",
						"DFmf6sLm6K6wVRMsb4PohQUCtH5Kzim59lXRQV-HH0s",
						"HvG8iJEB8dlPqWtn84QvMePS2lA7ETc-M_CwTDOWgk0",
						"GaX9NTVOyR_XSLxiCzuejvnS1f3x5MumRAEsy1UBUrs"
					    );

isnt $pl.post("hello","direct"), False, "Posting a status.";
isnt $pl.search("statuses","cofe",1), False, "Making a search.";
isnt $pl.get_posts("public"), False, "Fetching posts from timeline";								    
done-testing;


