socketwench/flag-drupal8 — pull request #75 by martinfrances107 (2014-09-28 16:38:32+00:00)
Title: Preempt testing stress 

Testing is a large issue, too big to solve in a single step.

I am making a start on https://github.com/socketwench/flag-drupal8/issues/2

I would like to removed calls to node_load, as a 'global' function call it is deprecated and is a thorn in any attempt to test the following

Flagging and FlagService.

I hope this is a small step in the right direction

PS in flag.module and the some forms I have just converted node_load() to

\Drupal::entityManager()->getStorage('node')->load($comment->nid);

this which will not help testing but one day node_load will vanish from core.

I hope this is inline with what others are thinking...

Martin